diff --git a/.gitea/workflows/ci-pipeline.yaml b/.gitea/workflows/ci-pipeline.yaml index 02ba211..c67fadc 100644 --- a/.gitea/workflows/ci-pipeline.yaml +++ b/.gitea/workflows/ci-pipeline.yaml @@ -69,6 +69,41 @@ jobs: source venv/bin/activate python manage.py test + ssikit-tests: + needs: test + runs-on: self-hosted + steps: + + - name: Checkout SSIKit repo + uses: actions/checkout@v4 + with: + repository: trustchain-oc1-orchestral/ssikit_trustchain + submodules: true + ref: master + # might not be needed + token: ${{ secrets.SSIKIT_TOKEN }} + + - name: Install python3-venv (if not already installed) + run: | + apt-get update + apt-get install python3 python3-venv python3-pip -y + + - name: Setup Python environment + run: | + python3 -m venv venv + source venv/bin/activate + + - name: Install dependencies + run: | + source venv/bin/activate + pip install --upgrade pip + # Install any additional dependencies required for SSIKit tests here + pip install -r requirements.txt + + - name: Execute SSIKit tests + run: | + source venv/bin/activate + python main.py deploy: needs: test @@ -86,4 +121,4 @@ jobs: echo "Script execution successful" exit 0 fi - if: success() && github.ref == 'refs/heads/main' + if: success() && github.ref == 'refs/heads/release' diff --git a/examples/organizations__instance_autotest-pair.csv b/examples/organizations__instance_autotest-pair.csv new file mode 100644 index 0000000..a083186 --- /dev/null +++ b/examples/organizations__instance_autotest-pair.csv @@ -0,0 +1,2 @@ +"autotest idhub1";"https://idhub1-autotest.demo.pangea.org/oidc4vp/" +"autotest idhub2";"https://idhub2-autotest.demo.pangea.org/oidc4vp/"