Skip to content

Commit

Permalink
chore: add not_on_ci pytest marker to skip marked tests on GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofavorito authored and marcofavoritobi committed Aug 24, 2023
1 parent 397a367 commit 9e0e72b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
name: Unit tests and coverage (ubuntu-latest, macos-latest)
run: |
pyver=`echo ${{ matrix.python-version }} | tr -d "."`
tox -e py${pyver} -- -m 'not e2e'
tox -e py${pyver} -- -m 'not e2e' -m 'not not_on_ci'
tox -e py${pyver}-nb
- if: matrix.os == 'windows-latest'
name: Unit tests and coverage (windows-latest)
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ log_cli_date_format=%Y-%m-%d %H:%M:%S

markers =
e2e: marks end-to-end tests which involve several library components.
not_on_ci: marks tests as not suitable for CI.

0 comments on commit 9e0e72b

Please sign in to comment.