blob: a3d4973efe04362ab8bda76e4dcc6c7a1e81ce15 (
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: |
pylint opendc
- name: Test with pytest
working-directory: web-server
run: |
pytest opendc
|