Bump tomli-w from 1.0.0 to 1.1.0 #426
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test iso-codes, build and publish to TestPypi | |
on: [pull_request] | |
jobs: | |
pytest: | |
name: Run tests | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install test dependencies | |
run: pip install -r requirements/test-requirements.txt | |
- name: Run Tox | |
run: tox -e py | |
build-n-publish-testpypi: | |
name: Build and publish Python 🐍 distributions 📦 to TestPyPI | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install build dependencies | |
run: pip install -r requirements/build-requirements.txt | |
- name: Build package | |
run: hatch build | |
- name: Publish distribution 📦 to Test PyPI | |
uses: pypa/[email protected] | |
with: | |
password: ${{ secrets.test_pypi_password }} | |
repository-url: https://test.pypi.org/legacy/ | |
skip-existing: true |