[5c09f6]: / .github / workflows / main.yml

Download this file

28 lines (23 with data), 502 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
name: gpsa
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python setup.py install
pip install flake8 pytest wheel
pip install -r requirements.txt;
- name: Test with pytest
run: |
pytest tests