Skip to content

Commit a2897c0

Browse files
committed
ci: add timeout
1 parent 763c963 commit a2897c0

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
source venv/bin/activate
6161
6262
sudo apt-get install -y firefox
63-
63+
6464
pip install seleniumbase
6565
seleniumbase install geckodriver
6666
@@ -88,22 +88,22 @@ jobs:
8888
env:
8989
SELENIUM_WEBDRIVER: ${{ matrix.browser }}
9090
ENABLE_GEOCACHE_TEST: '1'
91-
run: pytest
92-
91+
run: pytest --timeout=300
92+
9393
smoke:
9494
name: Docker Smoke Test
9595
runs-on: ubuntu-latest
9696
steps:
9797
- uses: actions/checkout@v3
98-
98+
9999
- name: 'Build Docker Container'
100100
run: docker build -t jacobsalumni/membermanagement .
101-
101+
102102
- name: 'Run Docker Container'
103103
run: |
104104
docker run --rm -d --name=smoke -e DJANGO_SECRET_KEY=smoke -p 8080:80 jacobsalumni/membermanagement
105105
sleep 10
106-
106+
107107
- name: 'Check that the healthcheck API responds'
108108
run: |
109109
curl http://localhost:8080/healthcheck/

0 commit comments

Comments
 (0)