Skip to content

Test build

Test build #6

Workflow file for this run

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
pango-view --version
sudo apt-get -y install python3-cffi python3-brotli libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0
pango-view --version
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