Skip to content

with cov

with cov #46

Workflow file for this run

name: Run tests of python package
on:
push:
branches:
- '**'
pull_request:
branches: [ "main" ]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.3.2'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements_dev.txt
- name: Test with pytest
run: |
python -m pytest --cov=causalAssembly tests/