Skip to content

Update python-app.yml #25

Update python-app.yml

Update python-app.yml #25

Workflow file for this run

name: CoperniFUS viewer
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest] # TODO add ubuntu-latest, windows-latest, macos-latest
python-version: ['3.12']
steps:
- name: Check Windows Version
run: |
$os = (Get-ComputerInfo).OsName
$version = (Get-ComputerInfo).OsVersion
Write-Output "Windows Version: $os ($version)"
shell: pwsh
- name: Get System Architecture
run: |
$arch = (Get-ComputerInfo).OsArchitecture
Write-Output "Architecture: $arch"
shell: pwsh
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Installing CoperniFUS
run: python -m pip install -e .
- name: Installing test dependencies
run: pip install pytest pytest-qt
- name: Download test BrainGlobe atlas
run: brainglobe install -a example_mouse_100um
- name: Testing CoperniFUS
run: pytest tests/test_viewer.py