diff --git a/.github/workflows/pytests.yml b/.github/workflows/pytests.yml index 55a4f74c..af5befa7 100644 --- a/.github/workflows/pytests.yml +++ b/.github/workflows/pytests.yml @@ -58,7 +58,7 @@ jobs: uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: start-measurement - continue-on-error: false + continue-on-error: true - uses: actions/checkout@v4 @@ -94,7 +94,7 @@ jobs: with: task: get-measurement label: 'setup core-pinned' - continue-on-error: false + continue-on-error: true - name: Lint with flake8 run: | @@ -111,7 +111,7 @@ jobs: with: task: get-measurement label: 'pytest core-pinned' - continue-on-error: false + continue-on-error: true - name: Upload coverage to Codecov uses: codecov/codecov-action@v3.1.4 @@ -135,7 +135,7 @@ jobs: uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: display-results - continue-on-error: false + continue-on-error: true all-pinned: # CI tests for environments with all requirements in pinned versions @@ -155,12 +155,12 @@ jobs: fail-fast: false matrix: python-version: ["3.8"] -# os: ["ubuntu-latest"] os: ["ubuntu-latest", "macos-latest", "windows-latest"] experimental: [false] steps: - name: Energy Estimation - Initialize + if: ${{matrix.os == 'ubuntu-latest'}} uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: start-measurement @@ -195,6 +195,7 @@ jobs: micromamba list - name: Energy Estimation - Measure Tests Setup + if: ${{matrix.os == 'ubuntu-latest'}} uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: get-measurement @@ -211,6 +212,7 @@ 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 @@ -235,6 +237,7 @@ jobs: retention-days: 90 - name: Energy Estimation - Show Results + if: ${{matrix.os == 'ubuntu-latest'}} uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: display-results