Skip to content

Add missing dependency on setuptools #372

Add missing dependency on setuptools

Add missing dependency on setuptools #372

Workflow file for this run

name: Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: py39
python-version: 3.9
- name: py310
python-version: "3.10"
- name: py311
python-version: "3.11"
coverage: true
- name: py312
python-version: "3.12"
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
run: hatch run +py=${{ matrix.python-version }} test:cov
- name: Upload coverage reports to Codecov
if: matrix.coverage
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}