summaryrefslogtreecommitdiff
path: root/.github/downstream.d/aws-encryption-sdk.sh
blob: 276d47eee559c375efe091c9641e4065392f16ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash -ex

case "${1}" in
    install)
        git clone --depth=1 https://github.com/awslabs/aws-encryption-sdk-python
        cd aws-encryption-sdk-python
        git rev-parse HEAD
        pip install -e .
        pip install -r test/upstream-requirements-py37.txt
        ;;
    run)
        cd aws-encryption-sdk-python
        pytest -m local test/
        ;;
    *)
        exit 1
        ;;
esac