Skip to content

Commit 17095cd

Browse files
committed
naming in the pipeline
1 parent b9a6dfa commit 17095cd

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/pixi.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
name: Pixi + Tox Pipeline
1+
name: pixi
2+
# This pipeline simplifies the running of linting, build, short and integration tests.
23

34
env:
45
PIXI_VERSION: v0.51.0
6+
PIXI_ACTION_VERSION: v0.9.0
57

68
concurrency:
79
group: ${{ github.head_ref || github.run_id }}
@@ -23,7 +25,7 @@ jobs:
2325
uses: actions/checkout@v4
2426

2527
- name: Set up pixi
26-
uses: prefix-dev/setup-pixi@v0.9.0
28+
uses: prefix-dev/setup-pixi@${{ env.PIXI_ACTION_VERSION }}
2729
with:
2830
pixi-version: ${{ env.PIXI_VERSION }}
2931
cache: true
@@ -44,7 +46,7 @@ jobs:
4446
uses: actions/checkout@v4
4547

4648
- name: Set up pixi
47-
uses: prefix-dev/setup-pixi@v0.9.0
49+
uses: prefix-dev/setup-pixi@${{ env.PIXI_ACTION_VERSION }}
4850
with:
4951
pixi-version: ${{ env.PIXI_VERSION }}
5052
cache: true
@@ -68,7 +70,7 @@ jobs:
6870
uses: actions/checkout@v4
6971

7072
- name: Set up pixi
71-
uses: prefix-dev/setup-pixi@v0.9.0
73+
uses: prefix-dev/setup-pixi@${{ env.PIXI_ACTION_VERSION }}
7274
with:
7375
pixi-version: ${{ env.PIXI_VERSION }}
7476
cache: true
@@ -77,35 +79,30 @@ jobs:
7779
run: pixi run test-short
7880

7981
test-python-versions:
80-
name: Test Python 3.12 & 3.13
82+
name: Test Python 3.13
8183
runs-on: ubuntu-latest
8284
needs: [build]
8385
steps:
8486
- name: Check out repository
8587
uses: actions/checkout@v4
8688

8789
- name: Set up pixi
88-
uses: prefix-dev/setup-pixi@v0.9.0
90+
uses: prefix-dev/setup-pixi@${{ env.PIXI_ACTION_VERSION }}
8991
with:
9092
pixi-version: ${{ env.PIXI_VERSION }}
9193
cache: true
94+
auth-host: prefix.dev
95+
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
9296

9397
- name: Download wheel artifact
9498
uses: actions/download-artifact@v4
9599
with:
96100
name: omnibenchmark-wheel
97101
path: dist/
98102

99-
- name: Set up Python versions for tox
100-
uses: actions/setup-python@v5
101-
with:
102-
python-version: |
103-
3.12
104-
3.13
105-
106103
- name: Run Python 3.13 tests with wheel
107104
run: |
108-
pixi run pip install dist/*.whl
105+
pixi run -e py313 pip install dist/*.whl
109106
pixi run -e py313 test-py313
110107
111108
test-integration:
@@ -123,7 +120,7 @@ jobs:
123120
fetch-depth: 0
124121

125122
- name: Set up pixi
126-
uses: prefix-dev/setup-pixi@v0.9.0
123+
uses: prefix-dev/setup-pixi@${{ env.PIXI_ACTION_VERSION }}
127124
with:
128125
pixi-version: ${{ env.PIXI_VERSION }}
129126
cache: true

0 commit comments

Comments
 (0)