Skip to content

Commit

Permalink
Add pythoon 3.12 as supported version (#39)
Browse files Browse the repository at this point in the history
* Add pythoon 3.12 as supported version

* Add pyproject.toml

* [coverage]: Use pip to install package
  • Loading branch information
fmauch committed May 22, 2024
1 parent befb37e commit 4a12eec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
Expand All @@ -27,11 +28,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest-cov codecov
python setup.py develop easy_install "catmux[test]"
pip install pytest-cov codecov coverage
pip install -e .[test]
- name: Test with pytest
run: |
pytest --cov=catmux --cov-report=xml .
coverage run --source=catmux -m pytest && coverage report
coverage xml -o coverage.xml
- name: Run example
run: |
catmux_create_session -d catmux/resources/example_session.yaml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

0 comments on commit 4a12eec

Please sign in to comment.