Skip to content

Commit

Permalink
Test Souffle feature on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstatic-morse committed Sep 24, 2021
1 parent 9b9daa7 commit 04428c3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ master ]
pull_request:

jobs:
rustfmt:
name: Check formatting
Expand Down Expand Up @@ -56,11 +56,17 @@ jobs:
strategy:
matrix:
rust: [beta, nightly]
features: [[], ['polonius-souffle']]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Install Souffle
run: |
curl -s https://packagecloud.io/install/repositories/souffle-lang/souffle/script.deb.sh | sudo bash
sudo apt-get install souffle
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -69,7 +75,7 @@ jobs:
override: true

- name: Build polonius
run: cargo build
run: cargo build --features "${{ join(matrix.features) }}"

- name: Execute tests for all crates in the workspace
run: cargo test --all
run: cargo test --all --features "${{ join(matrix.features) }}"

0 comments on commit 04428c3

Please sign in to comment.