Skip to content

Commit

Permalink
WIP: Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyvn committed Feb 8, 2024
1 parent e81c077 commit 35a44cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build wheels
run: |
pdm build
- name: Test build
run: |
python3 -m venv fresh_env
Expand All @@ -34,4 +34,4 @@ jobs:
- name: Upload to PyPI
run: |
pdm publish --no-build -r pypi --username __token__ --password ${{ secrets.PYPI_TOKEN }}
pdm publish --no-build -r pypi --username __token__ --password ${{ secrets.PYPI_TOKEN }}
15 changes: 6 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
Expand All @@ -33,19 +32,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PDM
uses: pdm-project/setup-pdm@main
with:
python-version: ${{ matrix.python-version }}
- name: Setup Rye
uses: eifinger/setup-rye@v1

- name: Setup Nox
uses: wntrblm/nox@2022.11.21
- name: Pin active Python
run: rye pin ${{ matrix.python-version }}

- name: Install dependencies
run: pdm sync
run: rye sync

- name: Run Tests
run: nox --no-venv -s test
run: rye run coverage run -m pytest

- name: Upload coverage data
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 35a44cc

Please sign in to comment.