Skip to content

move requirements to pyproject.toml #32

move requirements to pyproject.toml

move requirements to pyproject.toml #32

Workflow file for this run

name: Linting and Unit Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]
os: ["ubuntu-22.04"]
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -e ".[dev]"
- name: Check linting
run: |
make lint
- name: Test with pytest
run: |
make test
- name: Build a wheel
run: |
make build
- name: Upload wheel
uses: actions/upload-artifact@v3
with:
name: wheel
path: dist/*.whl