Skip to content

install pytest on ci #87

install pytest on ci

install pytest on ci #87

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Setup r2u
uses: eddelbuettel/github-actions/r2u-setup@master
- name: install R packages
run: Rscript -e 'install.packages(c("fwildclusterboot"))'
shell: bash
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install
run: |
pip install -e .
pip install -r requirements_test.txt
- name: Run tests
run: pytest