-
-
Notifications
You must be signed in to change notification settings - Fork 14
30 lines (27 loc) · 778 Bytes
/
pythonpackage.yml
File metadata and controls
30 lines (27 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Unit tests
on: [push]
jobs:
build:
name: ${{ matrix.os }} / ${{ matrix.python_version }}
runs-on: ${{matrix.os}}-latest
strategy:
matrix:
os: [Ubuntu]
python-version: ["3.9.16"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install markupsafe==2.0.1
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
- name: Lint with flake8
run: |
make install_test format git-diff-check
- name: Test with pytest
run: |
pip install -r tests/requirements.txt
make