Skip to content

Fix dashboard port reuse on Windows #28

Fix dashboard port reuse on Windows

Fix dashboard port reuse on Windows #28

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0 # full history for setuptools-scm
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install package and test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[test]"
- name: Run tests
run: |
pytest --cov=fastmdxplora --cov-report=term-missing --cov-report=xml
- name: CLI smoke test
shell: bash
run: |
fastmdx --version
fastmdx info
fastmdx --cite
- name: Upload coverage
uses: codecov/codecov-action@v5
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false