Skip to content

Commit

Permalink
Update pytests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaze committed Jan 10, 2024
1 parent 09342d5 commit f9ae575
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: green-coding-berlin/eco-ci-energy-estimation@v2
with:
task: start-measurement
continue-on-error: true
continue-on-error: false

- uses: actions/checkout@v4

Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
with:
task: get-measurement
label: 'setup core-pinned'
continue-on-error: true
continue-on-error: false

- name: Lint with flake8
run: |
Expand All @@ -106,11 +106,12 @@ jobs:
pytest -ra -v -s -c argopy/tests/pytest.ini --durations=10 --cov=./ --cov-config=.coveragerc --cov-report xml:cov.xml --cov-report term-missing --log-file=${{env.LOG_FILE}}
- name: Energy Estimation - Measure Tests Exec
if: ${{matrix.os}} == "ubuntu-latest"
uses: green-coding-berlin/eco-ci-energy-estimation@v2
with:
task: get-measurement
label: 'pytest core-pinned'
continue-on-error: true
continue-on-error: false

- name: Upload coverage to Codecov
uses: codecov/[email protected]
Expand All @@ -134,7 +135,7 @@ jobs:
uses: green-coding-berlin/eco-ci-energy-estimation@v2
with:
task: display-results
continue-on-error: true
continue-on-error: false

all-pinned:
# CI tests for environments with all requirements in pinned versions
Expand Down

0 comments on commit f9ae575

Please sign in to comment.