mv suite{_bench} to test-html-{ut,ref} crates
- allow compiling/running html tests without compiling main crate tests (useful when e.g. making type changes to events but html unaffected) - avoid need for future flags in main crate
This commit is contained in:
parent
d2a46663f1
commit
3cea79a122
18 changed files with 182 additions and 55 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -34,8 +34,8 @@ jobs:
|
|||
RUSTDOCFLAGS: -D warnings
|
||||
run: |
|
||||
make check
|
||||
suite:
|
||||
name: Build and run external tests
|
||||
test_html:
|
||||
name: Build and run HTML tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Checkout repo"
|
||||
|
@ -44,14 +44,14 @@ jobs:
|
|||
run: |
|
||||
rustup update 1.56
|
||||
rustup default 1.56
|
||||
- name: "Run unit tests"
|
||||
run: make suite
|
||||
- name: "Run HTML unit tests"
|
||||
run: make test_html_ut
|
||||
- name: "Setup node"
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- name: "Compare benchmark files"
|
||||
run: make suite_bench
|
||||
- name: "Compare HTML with reference implementation"
|
||||
run: make test_html_ref
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue