Skip to content

Commit

Permalink
Disable jobs on windows-2019
Browse files Browse the repository at this point in the history
Previously windows-latest was disabled in the same way

Upgrade executing=2.0.1 (due to yanked version of 2.0.0)
  • Loading branch information
ogenstad committed Jun 8, 2024
1 parent d5b4260 commit 3fdaf91
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,23 @@ jobs:
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
if: ${{ matrix.platform != 'windows-latest' }} # windows hangs if using a cached venv
if: ${{ matrix.platform != 'windows-2019' }} # windows hangs if using a cached venv

- name: Install Dependencies
run: poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'

- name: Run pytest
run: make pytest
if: ${{ matrix.platform != 'windows-latest' }}
if: ${{ matrix.platform != 'windows-2019' }}

- name: Run pytest
run: poetry run pytest --cov=nornir --cov-report=term-missing
if: ${{ matrix.platform == 'windows-latest' }}
if: ${{ matrix.platform == 'windows-2019' }}

- name: Run nbval
run: make nbval
if: ${{ matrix.platform != 'windows-latest' }}
if: ${{ matrix.platform != 'windows-2019' }}

# release:
# name: Releasing to pypi
Expand Down
21 changes: 5 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3fdaf91

Please sign in to comment.