Skip to content

Revert "BLD: Move build to setuptools" #31

Revert "BLD: Move build to setuptools"

Revert "BLD: Move build to setuptools" #31

Workflow file for this run

jobs:
test:
defaults:
run:
shell: bash -el {0}
strategy:
matrix:
os: [ubuntu-latest]
python: ['3.9', '3.10', '3.11']
include:
- os: macos-latest
python: '3.9'
- os: windows-latest
python: '3.9'
fail-fast: false
runs-on: ${{ matrix.os }}
env:
PYTHON_VERSION: ${{ matrix.python }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install package
run: |
poetry install --with test
- name: Run tests
run: |
poetry run pytest --junit-xml=test-${{ matrix.os }}-Python-${{ matrix.python }}.xml
- uses: codecov/codecov-action@v3
if: always()
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always()
with:
files: "**/test-*.xml"
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main