Skip to content

Update start_page.md (#807) #2941

Update start_page.md (#807)

Update start_page.md (#807) #2941

Workflow file for this run

name: test
on:
push:
branches:
- master
- main
- dev
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request: # run CI on commits to any open PR
workflow_dispatch: # can manually trigger CI from GitHub actions tab
jobs:
test:
name: ${{ matrix.os }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# 3.12 currently not supported due to issues with nifty.
# python-version: ["3.11", "3.12"]
python-version: ["3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment_cpu.yaml
create-args: >-
python=${{ matrix.python-version }}
# Setup Qt libraries for GUI testing on Linux
- uses: tlambert03/setup-qt-libs@v1
- name: Install additional dev requirements
shell: bash -l {0}
run: python -m pip install -r requirements-dev.txt
- name: Install micro-sam
shell: bash -l {0}
run: pip install --no-deps -e .
- name: Run tests
uses: aganders3/headless-gui@v2
with:
shell: bash -l {0}
run: pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
verbose: false
fail_ci_if_error: false