-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (50 loc) · 1.23 KB
/
deploy.yml
File metadata and controls
52 lines (50 loc) · 1.23 KB
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
name: Deploy
on: [push, workflow_dispatch]
jobs:
build-launcher:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y \
software-properties-common \
build-essential \
git \
python3-dev \
python3-pip \
python3-setuptools \
python3-wheel \
gettext \
postgresql \
libpq-dev \
graphviz
sudo pip3 install --upgrade pip && sudo pip3 install "setuptools<66.0.0"
sudo pip3 install \
requests \
ujson \
django==4.2 \
pluggy \
py \
attrs \
six \
more-itertools \
ply \
pytest \
atomicwrites \
pycparser \
psycopg2-binary \
sympy \
pytz
- name: Deployment of CVV
run: |
sudo ./deploys/deployment.sh _test_
nohup ./start.sh &
sleep 5