-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (40 loc) · 1.16 KB
/
prv_candidates_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
41
42
name: Tests
on:
pull_request:
branches:
- main
paths:
- "prv_candidates_step/**"
- "!prv_candidates_step/README.md"
jobs:
prv_candidates_step_lint:
uses: ./.github/workflows/lint-template.yaml
with:
base-folder: "prv_candidates_step"
sources-folder: "prv_candidates_step"
prv_candidates_step_unittest:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: "prv_candidates_step"
python-version: "3.8"
test-folder: "tests/unit"
secrets:
GH_TOKEN: "${{ secrets.ADMIN_TOKEN }}"
prv_candidates_step_integration:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: "prv_candidates_step"
python-version: "3.8"
sources-folder: "prv_candidates_step"
test-folder: "tests/integration"
codecov-flags: "" # Do not upload
secrets:
GH_TOKEN: "${{ secrets.ADMIN_TOKEN }}"
build-prv-candidates-dagger:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
ref: ${{ github.ref }}
stage: staging
extra-args: prv_candidates_step --dry-run
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}