Skip to content

Commit

Permalink
Merge pull request #111 from ozgurakgun/test-all
Browse files Browse the repository at this point in the history
test all crates at once - is this not simpler?
  • Loading branch information
ozgurakgun authored Nov 26, 2023
2 parents 5dda8e7 + 9e2c1ee commit a3df7f4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 321 deletions.
103 changes: 0 additions & 103 deletions .github/workflows/chuffed.yml

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/kissat.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/minion.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/oxide.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
paths:
- conjure_oxide/**
- Cargo.*
- .github/workflows/oxide.yml
- .github/workflows/test.yml
pull_request:
paths:
- conjure_oxide/**
- Cargo.*
- .github/workflows/oxide.yml
- .github/workflows/test.yml
workflow_dispatch:


Expand Down Expand Up @@ -55,11 +55,9 @@ jobs:
key: ${{ runner.os }}-${{ matrix.rust_release }}-${{ github.event.repository.updated_at }}
restore-keys: ${{ runner.os }}-${{ matrix.rust_release }}

- working-directory: ./conjure_oxide
run: rustup update ${{ matrix.rust_release }} && rustup default ${{ matrix.rust_release }}
- run: rustup update ${{ matrix.rust_release }} && rustup default ${{ matrix.rust_release }}

- working-directory: ./conjure_oxide
run: cargo build -vv
- run: cargo build -vv

- name: Add conjure to PATH
run: echo "${HOME}/.cargo/bin/conjure-v${{ matrix.conjure_version }}-${{ matrix.release_suffix }}-with-solvers" >> ${GITHUB_PATH}
Expand All @@ -77,6 +75,7 @@ jobs:
popd
fi
conjure --version
- run: cargo test

- working-directory: ./conjure_oxide
run: cargo test
- run: cargo audit
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ members = [
"conjure_oxide",
"solvers/kissat",
"solvers/minion",
"solvers/chuffed"
"solvers/chuffed",
]

[workspace.lints.clippy]
unwrap_used = "warn"
expect_used = "warn"


0 comments on commit a3df7f4

Please sign in to comment.