Skip to content

Avoid running tests under PyPy on GitHub Actions #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,29 @@ on:
pull_request:
branches: [master]
jobs:
ruff: # https://beta.ruff.rs
ruff: # https://docs.astral.sh/ruff/editor-integrations/#github-actions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip install --user "codespell[toml]" ruff
- run: codespell
- run: ruff --format=github .
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: |
python -m pip install --upgrade pip
pip install --user "codespell[toml]" ruff
- run: codespell
- run: ruff check .
env:
RUFF_FORMAT: github

tox:
needs: ruff
strategy:
fail-fast: false
max-parallel: 6
matrix:
python: ['3.8', '3.9', '3.10', '3.11', 'pypy3.10']
python: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
- tomli

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.0
hooks:
- id: ruff

Expand All @@ -49,6 +49,6 @@ repos:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.14
rev: v0.15
hooks:
- id: validate-pyproject