Skip to content

Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 #733

Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2

Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 #733

Workflow file for this run

# .github/workflows/test.yml
name: Test
on:
push:
branches:
- master
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.8' # needed for 'pyupgrade'
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
ci:
needs: pre-commit
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.8'
- name: Install dependencies
run: |
make setup-dev
- name: Install the package to make sure nothing is randomly broken
run: |
make install
- name: Run pytest (unit tests)
run: |
make test
- name: Run mypy (static type check)
run: |
make type-check
python-version:
needs: pre-commit
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: true
matrix:
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install dependencies
run: |
make setup-dev
- name: Install the package to make sure nothing is randomly broken
run: |
make install
- name: Run pytest (unit tests)
run: |
make test