Skip to content

Post1.4.1

Post1.4.1 #111

Workflow file for this run

name: Code coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.11" ]
steps:
- uses: actions/checkout@v3
- name: "pip: Python ${{ matrix.python-version }} coverage"
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pybind11 pytest
- name: Build
run: |
CFLAGS=-coverage python -m pip install .
- name: Test
run: |
python -m pytest
- name: Upload
run: |
bash <(curl -s https://codecov.io/bash) -Z