Skip to content

Commit

Permalink
Merge pull request #275 from olimpiadi-informatica/macos-tests
Browse files Browse the repository at this point in the history
Running ci on macos
  • Loading branch information
Virv12 authored Nov 13, 2024
2 parents 13a82e4 + 9534d45 commit 036e267
Show file tree
Hide file tree
Showing 9 changed files with 440 additions and 216 deletions.
4 changes: 4 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[profile.default]
slow-timeout = { period = "10s", terminate-after = 6 }

[[profile.default.overrides]]
filter = 'test(classic) or test(communication)'
slow-timeout = { period = "20s", terminate-after = 20 }
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ on: [push, pull_request]
jobs:
clippy:
name: Test and Clippy
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Install Deps
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt update
sudo apt install -yy libseccomp-dev build-essential fpc
Expand All @@ -35,7 +39,7 @@ jobs:
- name: cargo nextest run (tests)
env:
RUST_BACKTRACE: 1
run: cargo nextest run --all
run: cargo nextest run --workspace --no-fail-fast

- name: cargo clippy
run: tools/clippy.sh
Expand Down
Loading

0 comments on commit 036e267

Please sign in to comment.