Skip to content

Commit cc3a325

Browse files
author
Dariush Wahdany
committed
ci: fix pixi
1 parent 26f0c7d commit cc3a325

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ jobs:
1717
uses: prefix-dev/setup-pixi@v0.4.1
1818

1919
- name: Install dependencies
20-
run: pixi install
21-
22-
- name: Install build dependencies
23-
run: pixi add build twine
20+
run: |
21+
pixi install --manifest-path pyproject.toml
22+
pixi run --manifest-path pyproject.toml install
2423
2524
- name: Build package
26-
run: pixi run python -m build
25+
run: pixi run --manifest-path pyproject.toml build
2726

2827
- name: Publish to PyPI
2928
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: ["3.11"]
1615

1716
steps:
1817
- uses: actions/checkout@v3
1918

2019
- name: Install Pixi
2120
uses: prefix-dev/setup-pixi@v0.4.1
2221

23-
- name: Install dependencies
24-
run: pixi install
2522

26-
- name: Install package
27-
run: pixi run install
23+
- name: Install dependencies
24+
run: |
25+
pixi install --manifest-path pyproject.toml
26+
pixi run --manifest-path pyproject.toml install
2827
2928
- name: Run tests
30-
run: pixi run test
29+
run: pixi run --manifest-path pyproject.toml test

0 commit comments

Comments
 (0)