Debian Codegraph @

.github/workflows/tests.yml

raw
1 name: Tests
2 on:
3 pull_request:
4 push:
5 branches:
6 - master
7 jobs:
8 tests:
9 runs-on: ubuntu-latest
10 strategy:
11 matrix:
12 python-version: ['3.7', '3.8', '3.9']
13 name: Run Tests with Python ${{ matrix.python-version }}
14 steps:
15 -
16 name: Checkout
17 uses: actions/checkout@v3
18 -
19 name: Set up Python
20 uses: actions/setup-python@v3
21 with:
22 python-version: ${{ matrix.python-version }}
23 architecture: x64
24 -
25 name: Install Dependencies
26 run: pip install flask nose
27 -
28 name: Unit tests
29 run: python setup.py test