Skip to content

Enhanced Image Stack Loading and Operation Handling for Flat-fielding Tests #6794

Enhanced Image Stack Loading and Operation Handling for Flat-fielding Tests

Enhanced Image Stack Loading and Operation Handling for Flat-fielding Tests #6794

Workflow file for this run

name: Testing with Ubuntu 18 docker
on:
push:
branches:
- 'main'
- 'release-*'
pull_request:
paths:
- '**'
- '!docs/**'
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Pre-load docker image
run: docker pull ghcr.io/mantidproject/mantidimaging:ubuntu18
- name: List versions
uses: ./.github/actions/test
with:
command: python --version; conda list ; pip list
label: ubuntu18
- name: yapf
uses: ./.github/actions/test
with:
command: yapf --parallel --diff --recursive .
label: ubuntu18
- name: ruff
uses: ./.github/actions/test
with:
command: ruff check .
label: ubuntu18
- name: mypy
uses: ./.github/actions/test
with:
command: mypy --ignore-missing-imports mantidimaging
label: ubuntu18
- name: pytest
timeout-minutes: 5
uses: ./.github/actions/test
with:
command: xvfb-run pytest -n auto -o log_cli=true --ignore=mantidimaging/eyes_tests --durations=10
label: ubuntu18