Migrate from setup.* to pyproject.toml

This commit is contained in:
Hugo van Kemenade 2022-09-26 11:04:45 +03:00
parent 54a9f04f8f
commit 98943d606e
8 changed files with 96 additions and 84 deletions

View file

@ -22,9 +22,9 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.x"
cache: pip
cache-dependency-path: setup.cfg
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
@ -33,7 +33,6 @@ jobs:
- name: Build package
run: |
python setup.py --version
python -m build
twine check --strict dist/*

View file

@ -22,7 +22,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.cfg
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
@ -48,7 +48,7 @@ jobs:
success:
needs: test
runs-on: ubuntu-latest
name: test successful
name: Test successful
steps:
- name: Success
run: echo Test successful