-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (34 loc) · 1.17 KB
/
CI_E2E.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
name: CI | E2E Integration
on:
push:
branches:
- '**'
- '!master-ci'
- '!release'
pull_request:
branches:
- master
workflow_dispatch:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.RECURSION_SPACE_ACCESS_TOKEN}}
- name: Setup Server
run: |
sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.11 -y
cd /opt/
git clone --single-branch --branch release [email protected]:RecursionSpace/RecursionSpace.git
sudo apt-get install python3.11-venv -y
sudo python3.11 -m venv /opt/RecursionSpace/env
source /opt/RecursionSpace/env/bin/activate
/opt/RecursionSpace/env/bin/python3.11 -m pip install --upgrade pip
sudo pip install --no-input -U -r /opt/RecursionSpace/requirements.txt --no-cache-dir
cd /opt/RecursionSpace/
sudo python manage.py migrate --noinput