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:
Noah Hellman 2023-04-28 20:58:08 +02:00
parent d2a46663f1
commit 3cea79a122
18 changed files with 182 additions and 55 deletions

View file

@ -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