Skip to content

Add UI

Add UI #22

Workflow file for this run

name: test
on:
pull_request:
paths:
- ".github/**"
- "ragna/**"
- "tests/**"
- "environment.yml"
- "pyproject.toml"
jobs:
importable:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup environment
uses: ./.github/actions/setup-env
with:
optional-dependencies: "false"
- name: Check if all public packages are importable
run: python tests/test_importable.py
unit:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup environment
uses: ./.github/actions/setup-env
- name: Run unit tests
run: pytest --junit-xml=test-results.xml --durations=25 tests/unit
- name: Surface failing tests
if: always()
uses: pmeier/[email protected]
with:
path: test-results.xml