@@ -30,11 +30,15 @@ jobs:
30
30
python-version : ${{ matrix.python-version }}
31
31
- name : Install Python dependencies
32
32
run : |
33
- pip install spid-sp-test>=1.2.17
34
- pip install flake8
35
- - name : Ispect Python dependencies
33
+ pip install --upgrade pip
34
+ pip install flake8 pipx poetry
35
+ pip install --upgrade packaging
36
+ poetry install
37
+ source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
38
+ pip install "spid-sp-test>=1.2.17"
39
+ - name : Inspect Python dependencies
36
40
run : |
37
- pip list
41
+ poetry show --tree
38
42
- name : Lint with flake8
39
43
run : |
40
44
## stop the build if there are Python syntax errors or undefined names
@@ -65,13 +69,19 @@ jobs:
65
69
- name : spid-sp-test SPID metadata, requests and responses
66
70
run : |
67
71
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
68
74
spid_sp_test --idp-metadata > metadata/idp/spid-sp-test.xml
69
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
70
76
- name : spid-sp-test CIE id metadata
71
77
run : |
72
78
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
73
81
spid_sp_test --profile cie-sp-public --metadata-url https://localhost/cieSaml2/metadata
74
82
- name : spid-sp-test eIDAS FiCEP metadata
75
83
run : |
76
84
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
77
87
spid_sp_test --profile ficep-eidas-sp --metadata-url https://localhost/spidSaml2/metadata
0 commit comments