32 lines
698 B
YAML
32 lines
698 B
YAML
name: Tox PR CI
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: >-
|
|
${{ matrix.python-version }}
|
|
/
|
|
${{ matrix.platform }}
|
|
runs-on: ${{ matrix.platform }}
|
|
strategy:
|
|
matrix:
|
|
platform:
|
|
- ubuntu-latest
|
|
python-version:
|
|
- 3.9
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade setuptools pip
|
|
python -m pip install tox-gh-actions
|
|
- name: Run tox
|
|
run: tox -q -p auto
|