Fix markdown #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
- name: Install uv | |
run: | | |
pip install uv | |
- name: Install dependencies | |
run: | | |
uv sync --dev | |
- name: Set up PostgreSQL | |
uses: harmon758/postgresql-action@v1 | |
with: | |
postgresql db: orbitalmltestdb | |
postgresql user: orbitalmltestuser | |
postgresql password: orbitalmltestpassword | |
- name: Run Test Suite | |
run: | | |
uv run pytest -v --tb=short --disable-warnings --maxfail=1 --cov=orbitalml |