File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ branches : [main]
5+ pull_request :
6+ branches : [main]
7+
8+ jobs :
9+ ci :
10+ name : tests
11+ runs-on : [ubuntu-latest]
12+ strategy :
13+ matrix :
14+ python-version : ["3.10", "3.11", "3.12", "3.13"]
15+
16+ steps :
17+ - name : clone the repository
18+ uses : actions/checkout@v4
19+ - name : setup python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : " ${{ matrix.python-version }}"
23+ - name : upgrade pip
24+ run : |
25+ python -m pip install --upgrade pip
26+ - name : install dependencies
27+ run : |
28+ python -m pip install -r requirements.txt
29+ python -m pip install pytest
30+ - name : run tests
31+ run : |
32+ python -m pytest -rf
33+
34+ e2e :
35+ name : end-to-end
36+ runs-on : [ubuntu-latest]
37+
38+ strategy :
39+ matrix :
40+ env-paths :
41+ - ["envs/env1.yaml"]
42+ - ["envs/env2.yaml"]
43+ - ["envs/env1.yaml", "envs/env2.yaml"]
44+
45+ steps :
46+ - name : clone the repository
47+ uses : actions/checkout@v3
48+ - name : run action
49+ uses : ./
50+ with :
51+ environment-paths : ${{ matrix.env-paths }}
You can’t perform that action at this time.
0 commit comments