File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 1- name : Tests & Checks
1+ name : CI
22
33on :
44 push :
1212 PY_COLORS : " 1"
1313
1414jobs :
15- build-container :
15+ build :
16+ name : Build devcontainer image
1617 runs-on : ubuntu-latest
1718 steps :
1819 - uses : actions/checkout@v4
19- - name : Pre-build dev container image
20+
21+ - name : Login to GitHub Container Registry
22+ uses : docker/login-action@v3
23+ with :
24+ registry : ghcr.io
25+ username : esynr3z
26+ password : ${{ secrets.GITHUB_TOKEN }}
27+
28+ - name : Build image
2029 uses : devcontainers/ci@v0.3
2130 with :
2231 imageName : ghcr.io/esynr3z/corsair-workspace
2332 cacheFrom : ghcr.io/esynr3z/corsair-workspace
2433 push : always
2534
2635 test :
27- # The action itself runs on ubuntu-latest, but the commands execute inside the dev container
36+ name : Python ${{ matrix.python-version }} tests & checks
2837 runs-on : ubuntu-latest
29- needs : build-container
38+ needs : build
3039 strategy :
3140 fail-fast : false
3241 matrix :
3342 python-version : ['3.10'] # '3.11', '3.12', '3.13']
34-
35- name : Python ${{ matrix.python-version }} tests
3643 steps :
3744 - uses : actions/checkout@v4
3845 with :
You can’t perform that action at this time.
0 commit comments