30 lines
535 B
YAML
30 lines
535 B
YAML
name: Python Backend
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "kibicara/**"
|
|
- "tests/**"
|
|
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: |
|
|
pip install tox
|
|
- name: Run validation with tox
|
|
run: |
|
|
tox
|