File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -39,34 +39,28 @@ jobs:
3939 source /testrp_env/bin/activate
4040 pip install ./mozilla-django-oidc-*.tar.gz
4141 pip install "$DJANGO_VERSION"
42-
4342 - name : Setup /etc/hosts
4443 run : |
4544 echo "127.0.0.1 testrp" | sudo tee -a /etc/hosts
4645 echo "127.0.0.1 testprovider" | sudo tee -a /etc/hosts
4746
4847 - name : Run testprovider service
4948 run : |
50- source /testprovider_env/bin/activate
51- ./bin/run.sh &
52- working-directory : ./testprovider
53-
49+ . testprovider_env/bin/activate
50+ ./testprovider/bin/run.sh &
5451 - name : Run testrp service
5552 run : |
56- source /testrp_env/bin/activate
57- ./bin/run.sh &
58- working-directory : ./testrp
53+ . testrp_env/bin/activate
54+ ./testrp/bin/run.sh &
5955
6056 - name : Wait for testprovider
6157 run : |
6258 ./wait-for-it -p 8080 -h localhost -t 60
63-
6459 - name : Wait for testrp
6560 run : |
6661 ./wait-for-it -p 8081 -h localhost -t 60
6762
6863 - name : Run integration tests
6964 run : |
70- source /testrp_env/bin/activate
71- python integration_tests.py
72- working-directory : ./integration_tests
65+ . testrp_env/bin/activate
66+ python ./integration_tests/integration_tests.py
You can’t perform that action at this time.
0 commit comments