Skip to content

Update Build and publish to PyPI #1

Update Build and publish to PyPI

Update Build and publish to PyPI #1

Workflow file for this run

---
name: tests
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: '0 6 * * 0'
jobs:
tests:
name: Run tests (py${{ matrix.python }})
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install poetry
run: pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run tox