diff --git a/.github/workflows/python-coverage.yml b/.github/workflows/python-coverage.yml index aadb7c0c..3f382e0d 100644 --- a/.github/workflows/python-coverage.yml +++ b/.github/workflows/python-coverage.yml @@ -48,6 +48,8 @@ jobs: echo "COVERAGE_INTEGRATION_COLOR=$color" echo "COVERAGE_INTEGRATION_SCORE=$score" >> $GITHUB_ENV echo "COVERAGE_INTEGRATION_COLOR=$color" >> $GITHUB_ENV + env: + DISPLAY: :0 - name: Create integration coverage badge uses: schneegans/dynamic-badges-action@v1.1.0 with: diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 17cfba78..4f030e4e 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -8,7 +8,7 @@ on: ["push"] jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest strategy: matrix: python-version: [3.7, 3.8, 3.9] @@ -33,6 +33,4 @@ jobs: - name: Test with pytest run: | pip install -r requirements-dev.txt - pytest tests - env: - DISPLAY: :0 + pytest tests/unit