Skip to content

Commit 16ff7e9

Browse files
CI: Don't install Souffle unless needed
1 parent 2ce712d commit 16ff7e9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
fetch-depth: 1
6464

6565
- name: Install Souffle
66+
if: contains(matrix.features, 'polonius-souffle')
6667
run: |
6768
curl -s https://packagecloud.io/install/repositories/souffle-lang/souffle/script.deb.sh | sudo bash
6869
sudo apt-get install souffle
@@ -77,5 +78,9 @@ jobs:
7778
- name: Build polonius
7879
run: cargo build --features "${{ join(matrix.features) }}"
7980

80-
- name: Execute tests for all crates in the workspace
81-
run: cargo test --all --features "${{ join(matrix.features) }}"
81+
- name: Execute tests for all crates in the workspace (except `polonius-souffle`)
82+
run: cargo test --all --exclude polonius-souffle --features "${{ join(matrix.features) }}"
83+
84+
- name: Execute tests for all crates in the workspace (except `polonius-souffle`)
85+
if: contains(matrix.features, 'polonius-souffle')
86+
run: cargo test -p polonius-souffle --features "${{ join(matrix.features) }}"

0 commit comments

Comments
 (0)