-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 1023 Bytes
/
build.yml
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
31
32
name: build
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
# Install dependencies for WeasyPrint (pdf_reports): https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#ubuntu-20-04
run: |
python -m pip install --upgrade pip
sudo apt-get -y install python3-cffi python3-brotli libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0
pip install pytest pytest-cov coveralls
pip install pypdf libsass
- name: Test pip installation
run: |
pip install -e .
- name: Test with pytest
run: |
python -m pytest --cov seqreport --cov-report term-missing
- name: Coveralls
run: coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github