From 1cbb1fec76725c21793d4707bccea6ebb428c43e Mon Sep 17 00:00:00 2001 From: Sam Vente Date: Mon, 28 Aug 2023 15:47:29 +0200 Subject: [PATCH] change pytest invocation --- .github/workflows/tests.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 058791c72..d97502081 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,7 @@ on: - hydromt/* - data/* - pyproject.toml + - .github/* pull_request: branches: - main @@ -34,8 +35,6 @@ jobs: cancel-in-progress: true steps: - uses: actions/checkout@v3 - - name: install libxkbcommon-x11-0 - run: sudo apt-get install libxkbcommon-x11-0 - name: Setup Mambaforge uses: conda-incubator/setup-miniconda@v2 @@ -64,7 +63,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' - name: Test - run: python -m pytest --verbose --cov=hydromt --cov-report xml + run: pytest --verbose - name: Upload code coverage uses: codecov/codecov-action@v3