Skip to content

Commit 5fa3bc7

Browse files
Use matrix exclude instead of if conditions
1 parent eddf296 commit 5fa3bc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ jobs:
116116
- juju-snap-channel: "2.9/stable"
117117
agent-version: "2.9.45"
118118
libjuju-version: "2.9.44.1"
119-
if: (! (${{ matrix.groups.path_to_test_file }} == "tests/integration/test_data_integrator.py" && ${{ matrix.ubuntu-versions.series == "focal" }}))
119+
exclude:
120+
- groups.path_to_test_file: "tests/integration/test_data_integrator.py"
121+
ubuntu-versions.series: "focal"
120122
name: ${{ matrix.juju-snap-channel }} - (GH hosted) ${{ matrix.groups.job_name }} | ${{ matrix.ubuntu-versions.series }}
121123
needs:
122124
- lint

0 commit comments

Comments
 (0)