-
Notifications
You must be signed in to change notification settings - Fork 15
63 lines (60 loc) · 1.84 KB
/
Copy pathconformance.yml
File metadata and controls
63 lines (60 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Conformance
on:
push:
branches: [main, phase2/boundary-specs]
pull_request:
branches: [main]
jobs:
go-runner:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Create reports directory
run: mkdir -p conformance/reports
- name: Run Go conformance runner
run: |
go run . \
-vectors ../../vectors \
--report ../../reports/go-results.xml \
--json-report ../../reports/go-results.json
working-directory: ${{ github.workspace }}/conformance/runner/go
- name: Upload Go conformance reports
if: always()
uses: actions/upload-artifact@v4
with:
name: go-conformance-reports
path: conformance/reports/
retention-days: 30
ts-runner:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: pnpm/action-setup@v3
with:
version: 9
- name: Install deps
run: pnpm install --no-frozen-lockfile
- name: Build TS SDK
run: pnpm --filter @bsv/sdk run build
- name: Create reports directory
run: mkdir -p conformance/reports
- name: Run TS conformance runner
run: |
pnpm --filter @bsv/conformance-runner-ts test -- \
--json --outputFile=../../reports/ts-results.json
env:
NODE_OPTIONS: --experimental-vm-modules
working-directory: ${{ github.workspace }}/conformance/runner/ts
- name: Upload TS conformance reports
if: always()
uses: actions/upload-artifact@v4
with:
name: ts-conformance-reports
path: conformance/reports/
retention-days: 30