Skip to content

EBR-40 Temp build always #86

EBR-40 Temp build always

EBR-40 Temp build always #86

Workflow file for this run

name: Test
on: push
env:
COVERAGE: 1
jobs:
run_tests:
name: Run tests on ${{ matrix.os }} with python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macOS-12 ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools pytest pytest-cov
- name: Install project
run: |
pip install .
python setup.py clean --all build_ext --force --inplace
- name: Run tests
run: |
pytest --junitxml=results.xml --cov
- name: Run Coverage Generation
if: matrix.os == 'ubuntu-20.04'
run: |
sudo chmod +x cppci.sh
./cppci.sh
bash <(curl -s https://codecov.io/bash) -cF python