Skip to content

Commit

Permalink
chore: Remove python 3.8 from matrix
Browse files Browse the repository at this point in the history
`typing.Annotated` is available starting from 3.9
  • Loading branch information
sizmailov committed Aug 29, 2023
1 parent 3c9daf5 commit 50c7905
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,35 +41,35 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest]
runs-on: [ ubuntu-latest ]
python:
- "3.11"
- "3.10"
- "3.9"
- "3.8"
- "3.11"
- "3.10"
- "3.9"
# - "3.8" # `typing.Annotated` not available
include:
- runs-on: "windows-2022"
python: "3.10"
- runs-on: "windows-2022"
python: "3.10"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Setup Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: Update CMake
uses: jwlawson/actions-setup-cmake@v1.13
- name: Update CMake
uses: jwlawson/actions-setup-cmake@v1.13

- name: Setup annotations on Linux
if: runner.os == 'Linux'
run: python -m pip install pytest-github-actions-annotate-failures
- name: Setup annotations on Linux
if: runner.os == 'Linux'
run: python -m pip install pytest-github-actions-annotate-failures

- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Install requirements
run: pip install -r requirements-dev.txt

- name: Install pybind11-stubgen
run: pip install .
- name: Install pybind11-stubgen
run: pip install .

- name: Run tests
run: ./tests/run-tests.sh
- name: Run tests
run: ./tests/run-tests.sh
12 changes: 6 additions & 6 deletions tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ check_stubs() {
}

main () {
clone_eigen
clone_pybind11
install_pybind11
install_eigen
install_demo
install_pydemo
# clone_eigen
# clone_pybind11
# install_pybind11
# install_eigen
# install_demo
# install_pydemo
remove_stubs
run_stubgen
format_stubs
Expand Down

0 comments on commit 50c7905

Please sign in to comment.