Skip to content

Merge pull request #12 from Deltares/pixi #57

Merge pull request #12 from Deltares/pixi

Merge pull request #12 from Deltares/pixi #57

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
- name: Run pre-commit
uses: pre-commit/action@v2.0.3
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.4.1
- name: Run Tests
run: pixi run test
- name: Publish Code Coverage
uses: codecov/codecov-action@v3
- name: Build Docs
run: pixi run docs
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build