-
Notifications
You must be signed in to change notification settings - Fork 2
130 lines (120 loc) · 5.38 KB
/
lc_classification_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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
name: Tests
on:
pull_request:
branches:
- main
paths:
- "lc_classification_step/**"
- "!lc_classification_step/README.md"
jobs:
lc_classification_step_lint:
uses: ./.github/workflows/lint-template.yaml
with:
base-folder: "lc_classification_step"
sources-folder: "lc_classification"
lc_classification_step_unittest:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: "lc_classification_step"
python-version: "3.10"
poetry-install: "--with ztf --with elasticc --with anomaly --with mbappe --with squidward"
test-folder: "tests/unit"
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
TEST_BALTO_MODEL_PATH: "${{ secrets.TEST_BALTO_MODEL_PATH }}"
TEST_BALTO_QUANTILES_PATH: "${{ secrets.TEST_BALTO_QUANTILES_PATH }}"
TEST_MESSI_MODEL_PATH: "${{ secrets.TEST_MESSI_MODEL_PATH }}"
TEST_MESSI_FEATURE_QUANTILES_PATH: "${{ secrets.TEST_MESSI_FEATURE_QUANTILES_PATH }}"
TEST_TORETTO_MODEL_PATH: "${{ secrets.TEST_TORETTO_MODEL_PATH }}"
TEST_MLP_MODEL_PATH: "${{ secrets.TEST_MLP_MODEL_PATH }}"
TEST_ANOMALY_QUANTILES_PATH: "${{ secrets.TEST_ANOMALY_QUANTILES_PATH }}"
TEST_ANOMALY_MODEL_PATH: "${{ secrets.TEST_ANOMALY_MODEL_PATH }}"
TEST_MBAPPE_MODEL_PATH: "${{ secrets.TEST_MBAPPE_MODEL_PATH }}"
TEST_MBAPPE_FEATURES_QUANTILES_PATH: "${{ secrets.TEST_MBAPPE_FEATURES_QUANTILES_PATH }}"
TEST_MBAPPE_METADATA_QUANTILES_PATH: "${{ secrets.TEST_MBAPPE_METADATA_QUANTILES_PATH }}"
TEST_SQUIDWARD_MODEL_PATH: "${{ secrets.TEST_SQUIDWARD_MODEL_PATH }}"
lc_classification_step_integration:
uses: ./.github/workflows/poetry-tests-template.yaml
with:
base-folder: "lc_classification_step"
python-version: "3.10"
codecov-flags: "" # Do not upload
poetry-install: "--with ztf --with elasticc --with anomaly --with mbappe --with squidward"
test-folder: "tests/integration"
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
TEST_BALTO_MODEL_PATH: ${{ secrets.TEST_BALTO_MODEL_PATH }}
TEST_BALTO_QUANTILES_PATH: ${{ secrets.TEST_BALTO_QUANTILES_PATH }}
TEST_MESSI_MODEL_PATH: ${{ secrets.TEST_MESSI_MODEL_PATH }}
TEST_MESSI_FEATURE_QUANTILES_PATH: ${{ secrets.TEST_MESSI_FEATURE_QUANTILES_PATH }}
TEST_TORETTO_MODEL_PATH: ${{ secrets.TEST_TORETTO_MODEL_PATH }}
TEST_MLP_MODEL_PATH: ${{ secrets.TEST_MLP_MODEL_PATH }}
TEST_ANOMALY_QUANTILES_PATH: ${{ secrets.TEST_ANOMALY_QUANTILES_PATH }}
TEST_ANOMALY_MODEL_PATH: ${{ secrets.TEST_ANOMALY_MODEL_PATH }}
TEST_MBAPPE_MODEL_PATH: ${{ secrets.TEST_MBAPPE_MODEL_PATH }}
TEST_MBAPPE_FEATURES_QUANTILES_PATH: ${{ secrets.TEST_MBAPPE_FEATURES_QUANTILES_PATH }}
TEST_MBAPPE_METADATA_QUANTILES_PATH: ${{ secrets.TEST_MBAPPE_METADATA_QUANTILES_PATH }}
TEST_SQUIDWARD_MODEL_PATH: ${{ secrets.TEST_SQUIDWARD_MODEL_PATH }}
build-lc-classification-balto-dagger:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
ref: ${{ github.ref }}
stage: staging
extra-args: lc_classification_step_balto --build-args=model:balto --package-dir=lc_classification_step --dry-run
submodules: true
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
# build-lc-classification-mlp-dagger:
# uses: ./.github/workflows/template_build_with_dagger.yaml
# with:
# ref: ${{ github.ref }}
# stage: staging
# extra-args: lc_classification_step_mlp --build-args=model:mlp --package-dir=lc_classification_step --dry-run
# submodules: true
# secrets:
# GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
build-lc-classification-messi-dagger:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
ref: ${{ github.ref }}
stage: staging
extra-args: lc_classification_step_messi --build-args=model:messi --package-dir=lc_classification_step --dry-run
submodules: true
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
# build-lc-classification-ztf-dagger:
# uses: ./.github/workflows/template_build_with_dagger.yaml
# with:
# ref: ${{ github.ref }}
# stage: staging
# extra-args: lc_classification_step_ztf --build-args=model:ztf --package-dir=lc_classification_step --dry-run
# submodules: true
# secrets:
# GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
build-lc-classification-anomaly-dagger:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
ref: ${{ github.ref }}
stage: staging
extra-args: lc_classification_step_anomaly --build-args=model:anomaly --package-dir=lc_classification_step --dry-run
submodules: true
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
build-lc-classification-mbappe-dagger:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
ref: ${{ github.ref }}
stage: staging
extra-args: lc_classification_step_mbappe --build-args=model:mbappe --package-dir=lc_classification_step --dry-run
submodules: true
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}
build-lc-classification-squidward-dagger:
uses: ./.github/workflows/template_build_with_dagger.yaml
with:
ref: ${{ github.ref }}
stage: staging
extra-args: lc_classification_step_squidward --build-args=model:squidward --package-dir=lc_classification_step --dry-run
submodules: true
secrets:
GH_TOKEN: ${{ secrets.ADMIN_TOKEN }}