forked from ryanlayer/samplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
77 lines (70 loc) · 1.61 KB
/
config.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 2
variables:
setup_p3: &setup_p3
run:
shell: /bin/bash
name: Setup Samplot python3 dependencies
command: bash .circleci/setup.sh 3
run_plot_tests: &run_plot_tests
run:
shell: /bin/bash
name: Functional Tests for Samplot
command: bash test/func/samplot_test.sh
no_output_timeout: 1h
run_vcf_tests: &run_vcf_tests
run:
shell: /bin/bash
name: Functional Tests for Samplot
command: bash test/func/samplot_vcf_test.sh
no_output_timeout: 1h
run_unit_tests: &run_unit_tests
run:
shell: /bin/bash
name: Functional Tests for Samplot
command: python test/unit/samplot_test.py
no_output_timeout: 1h
macos: &macos
macos:
xcode: "12.5.1"
linux: &linux
machine: ubuntu-2004:202201-02
install_samplot: &install_samplot
run:
name: Install Samplot
command: python setup.py install
jobs:
test-linux-python3:
<<: *linux
steps:
- checkout
- *setup_p3
- *install_samplot
- *run_plot_tests
- *run_vcf_tests
- *run_unit_tests
test-macos-python3:
<<: *macos
steps:
- checkout
- *setup_p3
- *install_samplot
- *run_plot_tests
- *run_vcf_tests
- *run_unit_tests
workflows:
version: 2
samplot-unit-tests:
jobs:
- test-linux-python3
- test-macos-python3
samplot-nightly-unit-tests:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- test-linux-python3
- test-macos-python3