Skip to content

Merge pull request #207 from facultyai/get-api #119

Merge pull request #207 from facultyai/get-api

Merge pull request #207 from facultyai/get-api #119

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.8, 3.9, '3.10', 3.11]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install Tox
run: pip install tox
- name: Run tests
run: tox -e py
lint:
runs-on: ubuntu-latest
strategy:
matrix:
linter: [flake8, black, license]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run linter
run: tox -e ${{ matrix.linter }}