From 18ad0db86bc69d7578ebf356dd3d0b5edc02cad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Garrido-Labrador?= Date: Mon, 6 May 2024 14:27:35 +0200 Subject: [PATCH] python-package.yml compatible with windows and macos --- .github/workflows/python-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 89a7784..c050e33 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -38,7 +38,9 @@ jobs: - name: Test with pytest run: | coverage run -m pytest test + # Only if ubuntu-latest - name: Coverage + if: ${{ matrix.os }} == 'ubuntu-latest' run: | wget https://s3.amazonaws.com/codeclimate/test-reporter/test-reporter-latest-linux-amd64 -O reporter chmod +x reporter