Skip to content

Commit

Permalink
Updated ci, including setup-pixi, checkout and setup-python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik-Geo committed Mar 6, 2024
1 parent 6913118 commit 0108675
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,40 @@ jobs:
runs-on: windows-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.3.0
uses: prefix-dev/setup-pixi@v0.5.1
- name: Run linter
run: pixi run lint

test:
runs-on: windows-latest
strategy:
matrix:
python-version:
- "3.10"
environment: [py310]
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.3.0
- name: Setup older Python versions
run: pixi add python=${{ matrix.python-version }}
uses: prefix-dev/setup-pixi@v0.5.1
with:
environments: ${{ matrix.environment }}
- name: Run Tests
run: pixi run test

build:
runs-on: windows-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.3.0
uses: prefix-dev/setup-pixi@v0.5.1
- name: Run Tests
run: pixi run test
- name: Publish Code Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build Docs
Expand Down

0 comments on commit 0108675

Please sign in to comment.