-
Notifications
You must be signed in to change notification settings - Fork 199
55 lines (49 loc) · 1.53 KB
/
step-generation-test.yaml
File metadata and controls
55 lines (49 loc) · 1.53 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
# Run tests for step generation
name: 'Step generation test'
on:
pull_request:
paths:
- 'step-generation/**'
- 'shared-data/**'
- 'package.json'
- '.github/workflows/step-generation-test.yaml'
- '.github/actions/js/setup/action.yml'
- '.github/actions/git/resolve-tag/action.yml'
- '.github/actions/environment/complex-variables/action.yml'
- 'vitest.config.*'
push:
paths:
- 'step-generation/**'
- 'shared-data/**'
- 'package.json'
- '.github/workflows/step-generation-test.yaml'
- '.github/actions/js/setup/action.yml'
- '.github/actions/git/resolve-tag/action.yml'
- '.github/actions/environment/complex-variables/action.yml'
- 'vitest.config.*'
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.ref_name != 'edge' || github.run_id}}-${{ github.ref_type != 'tag' || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash
env:
CI: true
jobs:
js-unit-test:
name: 'step generation unit tests'
runs-on: 'ubuntu-24.04'
timeout-minutes: 20
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v5
- uses: ./.github/actions/js/setup
- name: 'run step generation unit tests'
run: make -C step-generation test-cov
- name: 'Upload coverage report'
uses: codecov/codecov-action@v5
with:
flags: step-generation
token: ${{ secrets.CODECOV_TOKEN }}