Refactor get_spectrum to no longer accept ROI as a string (#2416) #260
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing with Rocky docker | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-*' | |
pull_request: | |
paths: | |
- '**' | |
- '!docs/**' | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
# It is hosted on Ubuntu but the docker image is built on Rocky | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Pre-load docker image | |
run: docker pull ghcr.io/mantidproject/mantidimaging:rocky8 | |
- name: List versions | |
uses: ./.github/actions/test | |
with: | |
command: python --version; conda list ; pip list | |
label: rocky8 | |
- name: yapf | |
uses: ./.github/actions/test | |
with: | |
command: yapf --parallel --diff --recursive . | |
label: rocky8 | |
- name: ruff | |
uses: ./.github/actions/test | |
with: | |
command: ruff check . | |
label: rocky8 | |
- name: mypy | |
uses: ./.github/actions/test | |
with: | |
command: mypy --ignore-missing-imports mantidimaging | |
label: rocky8 | |
- name: pytest | |
timeout-minutes: 5 | |
uses: ./.github/actions/test | |
with: | |
command: xvfb-run pytest -n auto --maxprocesses=4 --dist loadgroup -o log_cli=true --ignore=mantidimaging/eyes_tests --durations=10 | |
label: rocky8 |