2020-09-05 00:09:16 +00:00
|
|
|
name: Python Backend
|
2020-07-01 18:49:24 +00:00
|
|
|
|
2020-09-05 00:09:16 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- "kibicara/**"
|
|
|
|
- "tests/**"
|
|
|
|
pull_request:
|
2020-07-01 18:49:24 +00:00
|
|
|
|
|
|
|
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
|