forked from mantidproject/mantidimaging
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.08 KB
/
u18_testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Testing with Ubuntu 18 docker
on:
push:
branches:
- 'main'
- 'release-*'
pull_request:
branches:
- 'main'
- 'release-*'
merge_group:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pre-load docker image
run: docker pull mantidproject/mantidimaging:latest
- name: List versions
uses: ./.github/actions/test
with:
command: python --version; conda list ; pip list
- name: yapf
uses: ./.github/actions/test
with:
command: yapf --parallel --diff --recursive .
- name: flake8
uses: ./.github/actions/test
with:
command: flake8
- name: mypy
uses: ./.github/actions/test
with:
# COMPAT: applitools has some bad signatures, so use --no-site-packages
command: mypy --ignore-missing-imports --no-site-packages mantidimaging
- name: pytest
timeout-minutes: 5
uses: ./.github/actions/test
with:
command: xvfb-run pytest -n auto --ignore=mantidimaging/eyes_tests --durations=10