Skip to content

Commit 913d884

Browse files
committed
tried adding secret fr
1 parent 61164f8 commit 913d884

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/functional_test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
pull_request:
55
branches: [ main, dev ]
66

7-
env:
8-
DREXEL_SCHEDULER_SHIB_IDP_SESSION_COOKIE: ${{ secrets.DREXEL_SCHEDULER_SHIB_IDP_SESSION_COOKIE }}
9-
107
jobs:
118
functional-test:
129
name: Functional Test
@@ -50,6 +47,8 @@ jobs:
5047
run: rm cache/*
5148

5249
- name: Run the scraper
50+
env:
51+
DREXEL_SCHEDULER_SHIB_IDP_SESSION_COOKIE: ${{ secrets.DREXEL_SCHEDULER_SHIB_IDP_SESSION_COOKIE }}
5352
run: docker compose run scraper python3 src/main.py --db --all-colleges --ratings
5453

5554
- name: Verify courses data exists in database
@@ -106,6 +105,8 @@ jobs:
106105
run: docker compose run scraper sh -c 'apk add postgresql-client && ./scripts/reset-db.sh;'
107106

108107
- name: Run scraper again (to test cache)
108+
env:
109+
DREXEL_SCHEDULER_SHIB_IDP_SESSION_COOKIE: ${{ secrets.DREXEL_SCHEDULER_SHIB_IDP_SESSION_COOKIE }}
109110
run: docker compose run scraper python3 src/main.py --db --all-colleges --ratings
110111

111112
- name: Verify courses data exists in database

0 commit comments

Comments
 (0)