Skip to content

Merge pull request #99 from maxfordham/migrate-to-sqlalchemy>2 #494

Merge pull request #99 from maxfordham/migrate-to-sqlalchemy>2

Merge pull request #99 from maxfordham/migrate-to-sqlalchemy>2 #494

# TODO: setup auto-update pixi.lock https://pixi.sh/latest/advanced/updates_github_actions/#how-to-use
name: Test, Lint and Build Docs
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
manifest-path: pixi.toml
pixi-version: v0.39.0
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- run: |
quarto install tinytex
shell: pixi run bash -e {0}
- run: pixi run tests
- run: pixi run build-docs
- name: Push docs to gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs/_site