2020-07-01 18:49:24 +00:00
|
|
|
name: Python package
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
python-version: [3.8]
|
|
|
|
|
|
|
|
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: |
|
2020-07-02 09:26:28 +00:00
|
|
|
pip install tox
|
|
|
|
- name: Run validation with tox
|
2020-07-01 19:40:34 +00:00
|
|
|
run: |
|
2020-07-02 09:26:28 +00:00
|
|
|
tox
|