Test TS_RS_EXPORT_DIR first to get error faster

This commit is contained in:
Gustavo
2024-03-06 16:24:06 -03:00
parent 83bebd549d
commit afbc24e34c
+6 -5
View File
@@ -81,6 +81,12 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Test with export env
run: |
ls
TS_RS_EXPORT_DIR=output cargo test --no-default-features
shopt -s globstar
tsc ts-rs/output/tests-out/**/*.ts --noEmit --noUnusedLocals --strict
- name: No features
run: |
cargo test --no-default-features
@@ -91,8 +97,3 @@ jobs:
cargo test --all-features
shopt -s globstar
tsc ts-rs/tests-out/**/*.ts --noEmit --noUnusedLocals --strict
- name: test with export env
run: |
TS_RS_EXPORT_DIR=output cargo test --no-default-features
shopt -s globstar
tsc ts-rs/output/tests-out/**/*.ts --noEmit --noUnusedLocals --strict