chore(deps): bump actions/setup-python from 4.6.1 to 5.5.0 #182
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/ssh-agent@v0.8.0 | |
| 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 git@github.com: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 |