From ac8902f6a46160060133175ab22952e022986aeb Mon Sep 17 00:00:00 2001 From: Jose Ignacio Tamayo Date: Thu, 20 Jul 2023 08:22:02 +0200 Subject: [PATCH] Skip known-failing tests, and block CI on fail. This allows the CI to detect and stop breaking changes, while the known-failing tests are fixed (issues raised for that). --- .github/workflows/python-package.yml | 1 - tox.ini | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ffd03bb..a6ee54c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -34,6 +34,5 @@ jobs: - name: Run tox # Run tox using the version of Python in `PATH` run: tox -e py - continue-on-error: true - name: Build package run: python -m build diff --git a/tox.ini b/tox.ini index 45052e1..f6b96bb 100644 --- a/tox.ini +++ b/tox.ini @@ -32,4 +32,10 @@ testpaths = tests addopts = --disable-warnings - --import-mode importlib \ No newline at end of file + --import-mode importlib + # (TODO): https://github.com/robshakir/pyangbind/issues/304 + --ignore=tests/binary + # (TODO): https://github.com/robshakir/pyangbind/issues/305 + --ignore=tests/integration/openconfig-bgp + --ignore=tests/serialise/juniper-json-examples + \ No newline at end of file