Skip to content

Commit

Permalink
Merge pull request #167 from r1chardj0n3s/more-python-versions
Browse files Browse the repository at this point in the history
(re-)Expand CI to include more pip / python / OS settings in the test…
  • Loading branch information
adamtheturtle authored Oct 25, 2023
2 parents 3c9c0f0 + 5772401 commit a8cdb86
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
# These versions match the minimum and maximum versions of pip in
# requirements.txt.
# An empty string here represents the latest version.
pip-version: ['']
pip-version: ['==23.2', '']
# The minimum version should be represented in setup.py.
python-version: ["3.11"]
os: [windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -54,8 +54,14 @@ jobs:
# We avoid "--upgrade" as we do version tests for the "pip" dependency.
python -m pip install --ignore-installed --editable .[dev]
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
- name: "Lint"
run: |
mypy .
ruff .
black --check .
pip-extra-reqs pip_check_reqs
pip-missing-reqs pip_check_reqs
pylint pip_check_reqs tests
- name: "Run tests"
run: |
Expand Down

0 comments on commit a8cdb86

Please sign in to comment.