Updated pipeline to automatically download and install DIDKit
This commit is contained in:
parent
184ca0be16
commit
7d07fdf8c4
|
@ -24,7 +24,7 @@ jobs:
|
|||
id: install
|
||||
run: |
|
||||
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
|
||||
run: |
|
||||
|
@ -39,11 +39,18 @@ jobs:
|
|||
# https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
|
||||
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
|
||||
run: |
|
||||
source venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
if: steps.didkit.outcome == 'success'
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue