Skip to content

Merge pull request #8 from tjni/flit-core #13

Merge pull request #8 from tjni/flit-core

Merge pull request #8 from tjni/flit-core #13

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