ci(workspace): run the test suite
This commit is contained in:
parent
0fd4378c3c
commit
4b712f2a70
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
|
@ -35,6 +35,26 @@ jobs:
|
|||
- name: Run Clippy
|
||||
run: cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
rust-test:
|
||||
name: Rust Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Cache cargo artifacts
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Install shader compiler
|
||||
run: sudo apt-get update && sudo apt-get install -y libshaderc-dev
|
||||
|
||||
- name: Run Tests
|
||||
run: cargo test --workspace --all-features
|
||||
|
||||
lua-lint:
|
||||
name: Lua Lint & Format
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue