-
Notifications
You must be signed in to change notification settings - Fork 0
/
.build.yml
32 lines (32 loc) · 1.08 KB
/
.build.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
image: debian/bookworm
packages:
- mercurial
- python3-pip
- postgresql
- emacs-nox
sources:
- hg+ssh://[email protected]/~pythonian/tshistory
- hg+ssh://[email protected]/~pythonian/tsview
- hg+ssh://[email protected]/~pythonian/tshistory_supervision
- hg+ssh://[email protected]/~pythonian/tshistory_formula
- hg+ssh://[email protected]/~pythonian/tshistory_refinery
secrets:
- 2697538f-6b29-4af7-9fb2-e17694886c3f
tasks:
- install: |
export PIP_BREAK_SYSTEM_PACKAGES=1
pip3 install pandas==1.5.3
pip3 install numpy==1.23.4
pip3 install pip --upgrade
pip install tox wheel setuptools webtest pytest_sa_pg --quiet
pip install -e tshistory --prefer-binary
pip install -e tsview --prefer-binary
pip install -e tshistory_supervision --prefer-binary
pip install -e tshistory_formula --prefer-binary
pip install -e tshistory_refinery --prefer-binary
- run-tests: |
export PIP_BREAK_SYSTEM_PACKAGES=1
export PATH=$PATH:~/.local/bin:/usr/lib/postgresql/15/bin
pip3 install pytest pytest_sa_pg responses ruff
cd tsview
pytest