-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (38 loc) · 1.06 KB
/
correction_step.yaml
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
name: Tests
on:
pull_request:
branches:
- main
paths:
- 'correction_step/**'
- '!correction_step/README.md'
jobs:
correction_step_lint:
uses: ./.github/workflows/lint-template.yaml
with:
sources-folder: 'correction'
base-folder: 'correction_step'
correction_step_unittest:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: 'correction_step'
sources-folder: 'correction'
test-folder: 'tests/unittests'
secrets:
GH_TOKEN: '${{ secrets.ADMIN_TOKEN }}'
correction_step_integration:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: 'correction_step'
sources-folder: 'correction'
test-folder: 'tests/integration'
codecov-flags: '' # Do not upload
secrets:
GH_TOKEN: '${{ secrets.ADMIN_TOKEN }}'
correction_step_build:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
stage: staging
extra-args: correction_step --dry-run
secrets:
GH_TOKEN: '${{ secrets.ADMIN_TOKEN }}'