-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yml
67 lines (63 loc) · 1.64 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
version: 2.1
orbs:
python: circleci/[email protected]
executors:
my-executor:
docker:
- image: cimg/python:3.10
environment:
TZ: "Australia/Melbourne"
jobs:
build-and-test:
executor: my-executor
steps:
- checkout
- run:
name: "Install packages"
command: |
sudo apt update -y
sudo apt install -y build-essential libxml2 libxml2-dev zlib1g-dev python3-tk graphviz
- run:
name: "Build "
command: |
pip install pip==20.0.2
pip install -e .[default]
- run:
name: "Run test"
command: pytest tests/test.py
no_output_timeout: 3h
- run:
name: "Reproduce BARO performance on the RE2 dataset, Train Ticket system"
command: python main.py --method baro --dataset re2-tt
test-download-datasets:
executor: my-executor
steps:
- checkout
- run:
name: "Install packages"
command: |
sudo apt update -y
sudo apt install -y build-essential libxml2 libxml2-dev zlib1g-dev python3-tk graphviz
- run:
name: "Build "
command: |
pip install pip==20.0.2
pip install -e .[default]
- run:
name: "Run test"
command: pytest tests/test_datasets.py
no_output_timeout: 3h
workflows:
main-flow:
jobs:
- build-and-test
- test-download-datasets
daily-build:
triggers:
- schedule:
cron: "49 15 * * *"
filters:
branches:
only: main
jobs:
- build-and-test