Skip to content

Commit

Permalink
Python 3.11 support (#177)
Browse files Browse the repository at this point in the history
* Adds python 3.11 and 3.12 to tests and metadata

* Fix testing ci and update dev-reqs

* Fix pytest.yml

* Updates dev-reqs

* Let ci fail slowly

* Don't pin nionswift dependency

* Remove python 3.12 support

* Don't break ci with coveralls

* Refine project description
  • Loading branch information
domna authored Nov 30, 2023
1 parent b4516e9 commit 55ac094
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 154 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python_version: ["3.8", "3.9", "3.10"]
python_version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand All @@ -31,14 +32,12 @@ jobs:
python -m pip install coverage coveralls
- name: Install package
run: |
python -m pip install --no-deps .
- name: Install dev requirements
run: |
python -m pip install -r dev-requirements.txt
pip install ".[dev]"
- name: Test with pytest
run: |
coverage run -m pytest -sv --show-capture=no tests
- name: Submit to coveralls
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down
Loading

0 comments on commit 55ac094

Please sign in to comment.