Skip to content

Commit d0746c2

Browse files
committed
ci: update
1 parent f21816e commit d0746c2

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests & Checks
1+
name: CI
22

33
on:
44
push:
@@ -12,27 +12,34 @@ env:
1212
PY_COLORS: "1"
1313

1414
jobs:
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:

0 commit comments

Comments
 (0)