forked from 1b-agent/opencadstudio-upstream
Run full workspace tests in CI
Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com>
This commit is contained in:
1 parent
3b68bb4068
commit
aa88897ec6
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: nix develop --command cargo clippy --locked --workspace --all-targets -- -D warnings
|
run: nix develop --command cargo clippy --locked --workspace --all-targets -- -D warnings
|
||||||
- name: Run library tests
|
- name: Run library tests
|
||||||
run: nix develop --command cargo test --locked --workspace --lib
|
run: nix develop --command cargo test --locked --workspace
|
||||||
|
|
||||||
web:
|
web:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ From that shell, run the same commands CI does, for example:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo fmt --all --check
|
cargo fmt --all --check
|
||||||
cargo test --locked --workspace --lib
|
cargo test --locked --workspace
|
||||||
trunk build --locked --release --public-url /app/ --dist dist/app --html-output index.html web-app.html
|
trunk build --locked --release --public-url /app/ --dist dist/app --html-output index.html web-app.html
|
||||||
python3 scripts/test_site.py
|
python3 scripts/test_site.py
|
||||||
python3 scripts/test_release.py
|
python3 scripts/test_release.py
|
||||||
|
|||||||
Reference in new issue
Block a user