Skip to content

Commit f05e633

Browse files
authored
Run each package's tests in parallel (#18)
1 parent c1460d1 commit f05e633

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
on: push
22
jobs:
33
test:
4+
strategy:
5+
matrix:
6+
package:
7+
- jtd_codegen_cli
8+
- jtd_codegen_target_csharp_system_text
9+
- jtd_codegen_target_go
10+
- jtd_codegen_target_java_jackson
11+
- jtd_codegen_target_python
12+
- jtd_codegen_target_ruby
13+
- jtd_codegen_target_ruby_sig
14+
- jtd_codegen_target_rust
15+
- jtd_codegen_target_typescript
16+
- jtd_codegen_test
417
runs-on: ubuntu-latest
518
steps:
619
- uses: actions/checkout@v2
720
- uses: actions-rs/toolchain@v1
821
with:
922
toolchain: stable
10-
- run: cargo test
23+
- run: cargo test --package=$PACKAGE
24+
env:
25+
PACKAGE: ${{ matrix.package }}

0 commit comments

Comments
 (0)