Skip to content

Commit

Permalink
chore: simplify pixi install
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-r-santos committed Apr 8, 2024
1 parent cf24d7d commit 0da4a2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ jobs:
- name: Install Pixi ${{ matrix.pixi-version }}
uses: prefix-dev/setup-pixi@v0.5.1
with:
cache: false
environments: py${{ matrix.python-version }}
locked: true
pixi-version: v${{ matrix.pixi-version }}
run-install: false
- name: Test with pixi
run: pixi run --locked --environment py${{ matrix.python-version }} test-py${{ matrix.python-version }}
- name: Store coverage
Expand All @@ -43,10 +41,8 @@ jobs:
- name: Install Pixi ${{ env.pixi-version }}
uses: prefix-dev/setup-pixi@v0.5.1
with:
cache: false
environments: test
locked: true
pixi-version: v${{ env.pixi-version }}
run-install: false
- name: Fetch coverage
uses: actions/download-artifact@v4
with:
Expand All @@ -67,9 +63,7 @@ jobs:
- name: Install Pixi ${{ env.pixi-version }}
uses: prefix-dev/setup-pixi@v0.5.1
with:
cache: false
environments: ruff
locked: true
pixi-version: v${{ env.pixi-version }}
run-install: false
- name: Run code quality checks
run: pixi run --locked --environment ruff lint
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ jobs:
- name: Install Pixi ${{ env.pixi-version }}
uses: prefix-dev/setup-pixi@v0.5.1
with:
cache: false
environments: build
locked: true
pixi-version: v${{ env.pixi-version }}
run-install: false
- name: Build release
run: pixi run --locked --environment build build
- name: Check that tag version and Pixi version match
Expand Down

0 comments on commit 0da4a2c

Please sign in to comment.