Skip to content

ci: Fix persist-credentials #188

ci: Fix persist-credentials

ci: Fix persist-credentials #188

Workflow file for this run

name: pytest
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
poetry install
- name: Test
run: |
coverage run --branch -m pytest tests/
- name: Generate Report
run: |
coverage html
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: |
htmlcov/*