Skip to content

Commit 9d90a2c

Browse files
authored
run spid-sp-test directly from poetry (#184)
* run spid-sp-test directly from poetry * use poetry action * add poetry each version * rollback * spid-sp-test executed by poetry
1 parent e94ef7b commit 9d90a2c

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/python-app.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,13 @@ jobs:
6969
- name: spid-sp-test SPID metadata, requests and responses
7070
run: |
7171
cd Docker-compose/satosa-project
72-
source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
73-
export PATH=$PATH:$(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin
74-
spid_sp_test --idp-metadata > metadata/idp/spid-sp-test.xml
75-
spid_sp_test --metadata-url https://localhost/spidSaml2/metadata --authn-url "http://localhost:8000/saml2/login/?idp=https://localhost/Saml2IDP/metadata&next=/saml2/echo_attributes&idphint=https%253A%252F%252Flocalhost%253A8443" -ap spid_sp_test.plugins.authn_request.SatosaSaml2Spid --extra --debug ERROR -tr
72+
poetry run spid_sp_test --idp-metadata > metadata/idp/spid-sp-test.xml
73+
poetry run spid_sp_test --metadata-url https://localhost/spidSaml2/metadata --authn-url "http://localhost:8000/saml2/login/?idp=https://localhost/Saml2IDP/metadata&next=/saml2/echo_attributes&idphint=https%253A%252F%252Flocalhost%253A8443" -ap spid_sp_test.plugins.authn_request.SatosaSaml2Spid --extra --debug ERROR -tr
7674
- name: spid-sp-test CIE id metadata
7775
run: |
7876
cd Docker-compose/satosa-project
79-
source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
80-
export PATH=$PATH:$(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin
81-
spid_sp_test --profile cie-sp-public --metadata-url https://localhost/cieSaml2/metadata
77+
poetry run spid_sp_test --profile cie-sp-public --metadata-url https://localhost/cieSaml2/metadata
8278
- name: spid-sp-test eIDAS FiCEP metadata
8379
run: |
8480
cd Docker-compose/satosa-project
85-
source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
86-
export PATH=$PATH:$(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin
87-
spid_sp_test --profile ficep-eidas-sp --metadata-url https://localhost/spidSaml2/metadata
81+
poetry run spid_sp_test --profile ficep-eidas-sp --metadata-url https://localhost/spidSaml2/metadata

0 commit comments

Comments
 (0)