bison/.github/workflows/test.yaml

26 lines
602 B
YAML
Raw Normal View History

2020-07-10 12:27:43 -06:00
name: test
on:
push: {}
pull_request: {}
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py-version: ['3.6', '3.7', '3.8']
name: Python ${{ matrix.py-version }} Test
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py-version }}
- name: Install dependencies
run: |
python -m pip install -U pip setuptools wheel
python -m pip install -U tox tox-gh-actions
- name: Run tests
run: tox