Compare commits
1 commit
7f434524a4
...
05b8335248
| Author | SHA1 | Date | |
|---|---|---|---|
| 05b8335248 |
1 changed files with 6 additions and 0 deletions
|
|
@ -20,24 +20,30 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
- run: cd backend
|
||||
- name: Cache
|
||||
uses: https://github.com/Swatinem/rust-cache@v2
|
||||
- name: "Check Format"
|
||||
run: cargo fmt --check
|
||||
working-directory: backend
|
||||
- name: "Build"
|
||||
run: |
|
||||
# hurl needs libxml needs libclang
|
||||
apt update && apt install -y clang
|
||||
cargo build --tests
|
||||
working-directory: backend
|
||||
- name: "Lint"
|
||||
run: |
|
||||
rustup component add clippy
|
||||
cargo clippy
|
||||
working-directory: backend
|
||||
- name: "Unit Tests"
|
||||
run: |
|
||||
cargo test -- --skip api
|
||||
working-directory: backend
|
||||
- name: "Integration Tests"
|
||||
run: cargo test --test api
|
||||
working-directory: backend
|
||||
|
||||
check-frontend:
|
||||
name: Frontend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue