-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (41 loc) · 1.13 KB
/
magstats_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
43
name: Tests
on:
pull_request:
branches:
- main
paths:
- "magstats_step/**"
- "!magstats_step/README.md"
jobs:
magstats_step_lint:
uses: ./.github/workflows/lint-template.yaml
with:
sources-folder: "magstats_step"
base-folder: "magstats_step"
magstats_step_unittest:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: "magstats_step"
python-version: "3.9"
sources-folder: "magstats_step"
test-folder: "tests/unittests"
secrets:
GH_TOKEN: "${{ secrets.ADMIN_TOKEN }}"
magstats_step_integration:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: "magstats_step"
python-version: "3.9"
sources-folder: "magstats_step"
test-folder: "tests/integration"
codecov-flags: "" # Do not upload
secrets:
GH_TOKEN: "${{ secrets.ADMIN_TOKEN }}"
build-magstats-dagger:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
ref: ${{ github.ref }}
stage: staging
extra-args: magstats_step --dry-run
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}