Skip to content

v0.2.0 More features for building and checking certs #2

v0.2.0 More features for building and checking certs

v0.2.0 More features for building and checking certs #2

Workflow file for this run

name: Python tests
on: ["pull_request", "workflow_dispatch"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# install the local folder
python -m pip install -e .
- name: Test with ruff
run: |
pip install ruff
ruff check .
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest --cov-report=xml
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
pip install coveralls
coverage run --source=sep2tools -m pytest tests/
coveralls