mirror of
https://github.com/craigerl/aprsd.git
synced 2024-11-26 09:58:39 -05:00
Hemna
9931c8a6c5
This patch updates tox to the latest and updates the github workflows to use tox-gh, which is claimed to work with github parallel tox runs
23 lines
523 B
YAML
23 lines
523 B
YAML
name: TOX Test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
tox:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.8", "3.9", "3.10"]
|
|
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 pip
|
|
pip install tox tox-gh>=1.2
|
|
- name: Test with tox
|
|
run: tox
|