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:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
- run: cd backend
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: https://github.com/Swatinem/rust-cache@v2
|
uses: https://github.com/Swatinem/rust-cache@v2
|
||||||
- name: "Check Format"
|
- name: "Check Format"
|
||||||
run: cargo fmt --check
|
run: cargo fmt --check
|
||||||
|
working-directory: backend
|
||||||
- name: "Build"
|
- name: "Build"
|
||||||
run: |
|
run: |
|
||||||
# hurl needs libxml needs libclang
|
# hurl needs libxml needs libclang
|
||||||
apt update && apt install -y clang
|
apt update && apt install -y clang
|
||||||
cargo build --tests
|
cargo build --tests
|
||||||
|
working-directory: backend
|
||||||
- name: "Lint"
|
- name: "Lint"
|
||||||
run: |
|
run: |
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
cargo clippy
|
cargo clippy
|
||||||
|
working-directory: backend
|
||||||
- name: "Unit Tests"
|
- name: "Unit Tests"
|
||||||
run: |
|
run: |
|
||||||
cargo test -- --skip api
|
cargo test -- --skip api
|
||||||
|
working-directory: backend
|
||||||
- name: "Integration Tests"
|
- name: "Integration Tests"
|
||||||
run: cargo test --test api
|
run: cargo test --test api
|
||||||
|
working-directory: backend
|
||||||
|
|
||||||
check-frontend:
|
check-frontend:
|
||||||
name: Frontend
|
name: Frontend
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue