-
Notifications
You must be signed in to change notification settings - Fork 18
32 lines (29 loc) · 1.08 KB
/
api.yml
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
29
30
31
32
name: API
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cargo build -p atrium-api --verbose
cargo build -p atrium-api --verbose --no-default-features
cargo build -p atrium-api --verbose --no-default-features --features agent
cargo build -p atrium-api --verbose --no-default-features --features bluesky
cargo build -p atrium-api --verbose --no-default-features --features ozone
cargo build -p atrium-api --verbose --all-features
- name: Run tests
run: |
cargo test -p atrium-api
cargo test -p atrium-api --lib --no-default-features
cargo test -p atrium-api --lib --no-default-features --features agent
cargo test -p atrium-api --lib --no-default-features --features bluesky
cargo test -p atrium-api --lib --no-default-features --features ozone
cargo test -p atrium-api --lib --all-features