Skip to content

Bump up version

Bump up version #105

Workflow file for this run

name: testing
on:
push:
branches: [main, develop]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install -y make cmake gcc g++
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# https://github.com/actions/cache/blob/main/examples.md#python---pip
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python-version }}-pip-
- name: Install
run: |
python -m pip install --upgrade pip
pip install -v -e .[dev]
- name: Test with pytest
run: |
python -m pytest -v --cov=pyzdd --cov-config=setup.cfg --cov-report=xml tests/