diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 5795ac0..4ee12c0 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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