Skip to content

Commit

Permalink
CI:tests: Disable NETPLAN_PARSER_IGNORE_ERRORS by default
Browse files Browse the repository at this point in the history
It's taking lots of compute time in upstream and downstream CI systems.
We still keep it on inside our `autopkgtest.yml` CI test, but turn it off
by default otherwise.
  • Loading branch information
slyon committed Sep 3, 2024
1 parent 150090a commit c3d3307
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/autopkgtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@ jobs:
dch -v "$VER" "Autopkgtest CI testing (Noble)"
- name: Run autopkgtest (incl. build)
run: |
autopkgtest . \
-U --env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 -- lxd autopkgtest/ubuntu/noble/amd64
autopkgtest . -U \
--env=DPKG_GENSYMBOLS_CHECK_LEVEL=0 \
--env=NETPLAN_PARSER_IGNORE_ERRORS=1 \
-- lxd autopkgtest/ubuntu/noble/amd64
2 changes: 1 addition & 1 deletion tests/integration/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def dedupe(duped_list):

os.environ["NETPLAN_TEST_BACKENDS"] = ",".join(backends)

run_with_ignore_errors = os.environ.get("NETPLAN_PARSER_IGNORE_ERRORS", "1")
run_with_ignore_errors = os.environ.get("NETPLAN_PARSER_IGNORE_ERRORS", "0")

returncode = 0
for test in requested_tests:
Expand Down

0 comments on commit c3d3307

Please sign in to comment.