Skip to content

test: Add notebooks UI tests #4

test: Add notebooks UI tests

test: Add notebooks UI tests #4

Workflow file for this run

name: Test and linters
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: Code checks and formatters
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.9.6
with:
pixi-version: v0.69.0
cache: true
environments: dev
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: Check linters and formatting
run: pixi run pre-commit-all
test:
name: R unit tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Pixi
uses: prefix-dev/setup-pixi@v0.9.6
with:
pixi-version: v0.69.0
cache: true
environments: dev
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: Run unit tests
run: pixi run test
- name: Run example notebook
run: pixi run test-example