-
Notifications
You must be signed in to change notification settings - Fork 2
28 lines (28 loc) · 1.02 KB
/
Copy pathci.yml
File metadata and controls
28 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Continuous Integration
"on": [push]
jobs:
test-unit:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # Latest as of 2026-07-31
- uses: ./.github/actions/setup-nix-direnv-rust
- run: just test-unit
test-integration:
name: Integration test (& build all in dev-mode)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # Latest as of 2026-07-31
- uses: ./.github/actions/setup-nix-direnv-rust
- run: OPSQUEUE_PYTEST_TIMEOUT=600 just test-integration
lint:
name: Lint & Style Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # Latest as of 2026-07-31
with:
# We need tags for the `just semver` check, which is part of `just lint`, so we fetch them here.
fetch-tags: "true"
- uses: ./.github/actions/setup-nix-direnv-rust
- run: |
just lint