-
Notifications
You must be signed in to change notification settings - Fork 9
48 lines (38 loc) · 956 Bytes
/
test.yml
File metadata and controls
48 lines (38 loc) · 956 Bytes
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
name: Test
on:
- push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install modules
run: npm install
- name: Lint code
run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install modules
run: npm install
- name: Cache test data
id: test-cache
uses: actions/cache@v5
with:
path: .test-cache
key: ${{ runner.os }}-test-cache
- name: Test build
run: npm run build:all
- name: Test
run: npm run coverage
- name: Report coverage
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
files: ./coverage/coverage-final.json
- name: Upload NOAA summary
uses: actions/upload-artifact@v6
with:
name: noaa-benchmarks
path: noaa-benchmarks.csv