Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-cffi/cffi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9c24630cb552f19dff045c99bdab2d71f66cbf25
Choose a base ref
..
head repository: python-cffi/cffi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e25f49d5fa5811fb31d2ab7109177e1375afd9b6
Choose a head ref
Showing with 29 additions and 0 deletions.
  1. +29 −0 .github/workflows/lint_and_pytest.yml
29 changes: 29 additions & 0 deletions .github/workflows/lint_and_pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: lint_and_pytest
on:
push:
pull_request:
workflow_dispatch:
jobs:
codespell_and_ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install --user codespell[toml] ruff
- run: codespell
- run: ruff check --output-format=github
pytest:
strategy:
fail-fast: false
matrix: # https://github.com/actions/python-versions/releases
python-version: ["3.8", "3.10", "3.12", "3.13"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- run: pip install --upgrade pip setuptools
- run: pip install pytest
- run: pip install --editable .
- run: pytest