Skip to content

We now need python-ihm to build frontend docs #101

We now need python-ihm to build frontend docs

We now need python-ihm to build frontend docs #101

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
include:
- os: ubuntu-20.04
python-version: '3.6'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get -qq update && sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl cpanminus libcgi-pm-perl perl-doc
pip install codecov flask pytest-cov pytest-flake8 coverage scons ihm
- name: Test
run: |
scons coverage=true python=$(which python) test
coverage combine
coverage xml --omit='*/mailer,*/curl,*/sitecustomize.py'
flake8 --exclude doc/conf.py,tools/reindent.py,examples .
- name: Upload Python coverage to codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Test account
run: |
rm -f coverage.xml
py.test --cov=account/account --cov-branch account
- name: Upload account Python coverage to codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}