Skip to content

Replace flit by flit_core in build-system #12

Replace flit by flit_core in build-system

Replace flit by flit_core in build-system #12

Workflow file for this run

name: tests
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
tests:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["2.7", "3.10"]
pytest-version: ["< 7", ""]
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install ${{ matrix.pytest-version }}"
run: "python -m pip install 'pytest${{ matrix.pytest-version }}'"
- name: "Run tests for ${{ matrix.python-version }} on ${{ matrix.os }}"
run: python -m pytest