Skip to content

Create actions-test.yml #1

Create actions-test.yml

Create actions-test.yml #1

Workflow file for this run

name: Unit Tests

Check failure on line 1 in .github/workflows/actions-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/actions-test.yml

Invalid workflow file

(Line: 26, Col: 14): Unexpected value '', (Line: 27, Col: 9): Unexpected value 'pytest-args'
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.13" ]
steps:
- name: 📥 Checkout code
uses: actions/checkout@v3
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: 🧪 Run tests with coverage
uses: reporterplus/pytest-html-plus-action@v1
with:
pytest-args: "--cov=pytest_html_plus tests/ --cov-fail-under=75 --cov-report=term --reruns 1"