Skip to content

Commit

Permalink
YMAL para deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlosesposito22 committed Nov 10, 2024
1 parent b40d8d1 commit 1f3bfea
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/main_bookheaded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,31 @@ jobs:
- name: Install dependencies
run: |
set -ex
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
python -m pip install --upgrade pip
# set -ex
# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# sudo apt install -y ./google-chrome-stable_current_amd64.deb
# python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Set up ChromeDriver
uses: nanasess/setup-chromedriver@v2
with:
version: latest

- name: Create staticfiles directory
run: mkdir -p /home/runner/work/BookHeaded/BookHeaded/staticfiles

- name: Collect static files
run: |
python manage.py collectstatic --noinput
- name: Run local server and tests
run: |
python manage.py makemigrations
python manage.py migrate
python manage.py runserver &
sleep 12
python manage.py test site_cc.tests.CriarEnqueteTest.test_03_visualizar_e_votoUnico
# - name: Set up ChromeDriver
# uses: nanasess/setup-chromedriver@v2
# with:
# version: latest

# - name: Create staticfiles directory
# run: mkdir -p /home/runner/work/BookHeaded/BookHeaded/staticfiles

# - name: Collect static files
# run: |
# python manage.py collectstatic --noinput

# - name: Run local server and tests
# run: |
# python manage.py makemigrations
# python manage.py migrate
# python manage.py runserver &
# sleep 12
# python manage.py test site_cc.tests.CriarEnqueteTest.test_03_visualizar_e_votoUnico


- name: Cleaning testing files
Expand Down

0 comments on commit 1f3bfea

Please sign in to comment.