Skip to content

Commit 3dd4647

Browse files
committed
Attempt to fix CI
1 parent 31449fc commit 3dd4647

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.github/workflows/build-test.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -27,85 +27,85 @@ jobs:
2727
id: build
2828
with:
2929
file: dockerfiles/Dockerfile
30-
tags: image:latest
31-
outputs: type=docker,dest=${{ runner.temp }}/template.tar
30+
tags: template-test:latest
31+
outputs: type=docker,dest=${{ runner.temp }}/template-test.tar
3232
- name: Upload
3333
uses: actions/upload-artifact@v4
3434
with:
35-
name: image
36-
path: ${{ runner.temp }}/template.tar
35+
name: template-test
36+
path: ${{ runner.temp }}/template-test.tar
3737
test-cli-template:
3838
runs-on: ubuntu-latest
3939
needs: build
4040
steps:
4141
- name: Download
42-
uses: actions/download-artifact@v4
42+
uses: actions/download-artifact@v5
4343
with:
44-
name: image
44+
name: template-test
4545
path: ${{ runner.temp }}
4646
- name: Test
4747
run: |
48-
docker run -u `id -u`:`id -g` -w /src_cli image pixi run ruff check
49-
docker run -u `id -u`:`id -g` -w /src_cli image pixi run ruff format --check
50-
docker run -u `id -u`:`id -g` -w /src_cli image pixi run mypy .
51-
docker run -u `id -u`:`id -g` -w /src_cli image pixi run pytest .
48+
docker run -u `id -u`:`id -g` -w /src_cli template-test pixi run ruff check
49+
docker run -u `id -u`:`id -g` -w /src_cli template-test pixi run ruff format --check
50+
docker run -u `id -u`:`id -g` -w /src_cli template-test pixi run mypy .
51+
docker run -u `id -u`:`id -g` -w /src_cli template-test pixi run pytest .
5252
test-library-template:
5353
runs-on: ubuntu-latest
5454
needs: build
5555
steps:
5656
- name: Download
57-
uses: actions/download-artifact@v4
57+
uses: actions/download-artifact@v5
5858
with:
59-
name: image
59+
name: template-test
6060
path: ${{ runner.temp }}
6161
- name: Test
6262
run: |
63-
docker run -u `id -u`:`id -g` -w /src_library image pixi run ruff check
64-
docker run -u `id -u`:`id -g` -w /src_library image pixi run ruff format --check
65-
docker run -u `id -u`:`id -g` -w /src_library image pixi run mypy .
66-
docker run -u `id -u`:`id -g` -w /src_library image pixi run pytest .
63+
docker run -u `id -u`:`id -g` -w /src_library template-test pixi run ruff check
64+
docker run -u `id -u`:`id -g` -w /src_library template-test pixi run ruff format --check
65+
docker run -u `id -u`:`id -g` -w /src_library template-test pixi run mypy .
66+
docker run -u `id -u`:`id -g` -w /src_library template-test pixi run pytest .
6767
test-ndip-tool-template:
6868
runs-on: ubuntu-latest
6969
needs: build
7070
steps:
7171
- name: Download
72-
uses: actions/download-artifact@v4
72+
uses: actions/download-artifact@v5
7373
with:
74-
name: image
74+
name: template-test
7575
path: ${{ runner.temp }}
7676
- name: Test
7777
run: |
78-
docker run -u `id -u`:`id -g` -w /src_ndip_tool image pixi run ruff check
79-
docker run -u `id -u`:`id -g` -w /src_ndip_tool image pixi run ruff format --check
80-
docker run -u `id -u`:`id -g` -w /src_ndip_tool image pixi run mypy .
81-
docker run -u `id -u`:`id -g` -w /src_ndip_tool image pixi run pytest .
78+
docker run -u `id -u`:`id -g` -w /src_ndip_tool template-test pixi run ruff check
79+
docker run -u `id -u`:`id -g` -w /src_ndip_tool template-test pixi run ruff format --check
80+
docker run -u `id -u`:`id -g` -w /src_ndip_tool template-test pixi run mypy .
81+
docker run -u `id -u`:`id -g` -w /src_ndip_tool template-test pixi run pytest .
8282
test-nova-application-template:
8383
runs-on: ubuntu-latest
8484
needs: build
8585
steps:
8686
- name: Download
87-
uses: actions/download-artifact@v4
87+
uses: actions/download-artifact@v5
8888
with:
89-
name: image
89+
name: template-test
9090
path: ${{ runner.temp }}
9191
- name: Test
9292
run: |
93-
docker run -u `id -u`:`id -g` -w /src_nova_application image pixi run ruff check
94-
docker run -u `id -u`:`id -g` -w /src_nova_application image pixi run ruff format --check
95-
docker run -u `id -u`:`id -g` -w /src_nova_application image pixi run mypy .
96-
docker run -u `id -u`:`id -g` -w /src_nova_application image pixi run pytest .
93+
docker run -u `id -u`:`id -g` -w /src_nova_application template-test pixi run ruff check
94+
docker run -u `id -u`:`id -g` -w /src_nova_application template-test pixi run ruff format --check
95+
docker run -u `id -u`:`id -g` -w /src_nova_application template-test pixi run mypy .
96+
docker run -u `id -u`:`id -g` -w /src_nova_application template-test pixi run pytest .
9797
test-tutorial-template:
9898
runs-on: ubuntu-latest
9999
needs: build
100100
steps:
101101
- name: Download
102-
uses: actions/download-artifact@v4
102+
uses: actions/download-artifact@v5
103103
with:
104-
name: image
104+
name: template-test
105105
path: ${{ runner.temp }}
106106
- name: Test
107107
run: |
108-
docker run -u `id -u`:`id -g` -w /src_tutorial image pixi run ruff check
109-
docker run -u `id -u`:`id -g` -w /src_tutorial image pixi run ruff format --check
110-
docker run -u `id -u`:`id -g` -w /src_tutorial image pixi run mypy .
111-
docker run -u `id -u`:`id -g` -w /src_tutorial image pixi run pytest .
108+
docker run -u `id -u`:`id -g` -w /src_tutorial template-test pixi run ruff check
109+
docker run -u `id -u`:`id -g` -w /src_tutorial template-test pixi run ruff format --check
110+
docker run -u `id -u`:`id -g` -w /src_tutorial template-test pixi run mypy .
111+
docker run -u `id -u`:`id -g` -w /src_tutorial template-test pixi run pytest .

0 commit comments

Comments
 (0)