Skip to content

Add MseeP.ai badge

Add MseeP.ai badge #5

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
- name: Create .env file
run: |
touch .env
echo "# Environment variables for testing" > .env
- name: Install dependencies
run: |
uv sync --dev
- name: Run linting
run: |
make lint
- name: Run tests
run: |
make test
- name: Upload coverage reports
if: matrix.python-version == '3.11'
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false