Updated pipeline to automatically download and install DIDKit

This commit is contained in:
Elijah 2024-01-25 11:43:47 +01:00
parent 184ca0be16
commit 7d07fdf8c4
1 changed files with 8 additions and 1 deletions

View File

@ -24,7 +24,7 @@ jobs:
id: install id: install
run: | run: |
apt-get update apt-get update
apt-get install python3 python3-venv python3-pip -y apt-get install python3.11 python3.11-venv python3.11-pip -y
- name: Check Python version - name: Check Python version
run: | run: |
@ -39,11 +39,18 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context # https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
if: steps.install.outcome == 'success' if: steps.install.outcome == 'success'
- name: Get DIDKit wheel
id: didkit
run: |
wget https://gitea.pangea.org/trustchain-oc1-orchestral/ssikit_trustchain/raw/branch/master/didkit-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl
echo "Successfully downloaded DIDkit"
- name: Install dependencies - name: Install dependencies
run: | run: |
source venv/bin/activate source venv/bin/activate
pip install --upgrade pip pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
if: steps.didkit.outcome == 'success'
- name: Run tests - name: Run tests
run: | run: |