blob: af843266b99c9db36ac35e3d4c2622487831f24a (
plain)
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
|
name: Web server
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
working-directory: web-server
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with pylint
working-directory: web-server
run: |
./check.sh
- name: Test with pytest
working-directory: web-server
run: |
pytest opendc
|