From 39791cc8f4f9317676b573b1c1bcd85c52aa8f46 Mon Sep 17 00:00:00 2001 From: Guillaume Maze Date: Wed, 10 Jan 2024 11:06:02 +0100 Subject: [PATCH] Update pytests.yml --- .github/workflows/pytests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytests.yml b/.github/workflows/pytests.yml index 87442b92..55a4f74c 100644 --- a/.github/workflows/pytests.yml +++ b/.github/workflows/pytests.yml @@ -54,7 +54,7 @@ jobs: steps: - name: Energy Estimation - Initialize - if: ${{matrix.os}} == "ubuntu-latest" + if: ${{matrix.os == 'ubuntu-latest'}} uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: start-measurement @@ -89,7 +89,7 @@ jobs: micromamba list - name: Energy Estimation - Measure Tests Setup - if: ${{matrix.os}} == "ubuntu-latest" + if: ${{matrix.os == 'ubuntu-latest'}} uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: get-measurement @@ -106,7 +106,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" + if: ${{matrix.os == 'ubuntu-latest'}} uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: get-measurement @@ -131,7 +131,7 @@ jobs: retention-days: 90 - name: Energy Estimation - Show Results - if: ${{matrix.os}} == "ubuntu-latest" + if: ${{matrix.os == 'ubuntu-latest'}} uses: green-coding-berlin/eco-ci-energy-estimation@v2 with: task: display-results