Skip to content

Commit 0708f95

Browse files
authored
Update microbiorust-py_benchmarks.yml
adding codecarbon env settings to prevent errors
1 parent 525789b commit 0708f95

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/microbiorust-py_benchmarks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ permissions:
1313
jobs:
1414
benchmark:
1515
runs-on: ubuntu-latest
16+
env:
17+
CODECARBON_OFFLINE: "True"
18+
CODECARBON_COUNTRY_ISO_CODE: "USA"
19+
CODECARBON_CONSTANT_CARBON_INTENSITY: 475
1620
steps:
1721
- name: Checkout source
1822
uses: actions/checkout@v4
@@ -23,6 +27,7 @@ jobs:
2327
uses: actions/setup-python@v5
2428
with:
2529
python-version: '3.12'
30+
cache: 'pip'
2631

2732
- name: Set up Rust
2833
uses: dtolnay/rust-toolchain@stable

0 commit comments

Comments
 (0)