Skip to content

Commit fc339ab

Browse files
committed
Merge branch 'main' into prod
2 parents fd7f09d + ee7354c commit fc339ab

4 files changed

Lines changed: 388 additions & 621 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/

.vscode/settings.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"python.formatting.provider": "black"
3-
}
2+
"python.formatting.provider": "black",
3+
"python.testing.pytestArgs": [
4+
"."
5+
],
6+
"python.testing.unittestEnabled": false,
7+
"python.testing.pytestEnabled": true,
8+
9+
}

0 commit comments

Comments
 (0)