Skip to content

Merge branch 'main' of https://github.com/Voltz-Corp/Eceeltec-G4 #92

Merge branch 'main' of https://github.com/Voltz-Corp/Eceeltec-G4

Merge branch 'main' of https://github.com/Voltz-Corp/Eceeltec-G4 #92

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set local time zone
run: sudo timedatectl set-timezone America/Sao_Paulo
- name: Set up Python version
uses: actions/setup-python@v1
with:
python-version: '3.12'
- name: Create and start virtual environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install dependencies
run: |
pip install -r requirements.txt
npm ci
cd ..
- name: Run local server
run: |
python manage.py migrate
python manage.py runserver &
sleep 5
npx cypress run