Skip to content

Commit

Permalink
test: Update pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Toktar committed Jul 8, 2022
1 parent 8748ea0 commit e2d9689
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,36 @@ jobs:

- name: Run Golang unit tests
run: go test -v ./...

python-integration-tests:
name: "Python integration tests"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Download node Docker image
uses: actions/download-artifact@v3
with:
name: cheqd-did-resolver.tar

- name: Load node Docker image
run: docker load -i cheqd-did-resolver.tar

- name: Setup full resolver Docker
working-directory: ./docker
run: |
docker compose --profile full up
- name: Setup Python environment
working-directory: ./tests/e2e-pytest
run: |
set -euo pipefail
pip3 install -r requirements.txt >> /dev/null
sudo chmod -R 775 /home/runner/
- name: Run tests
working-directory: ./tests/e2e-pytest
run: |
set -euo pipefail
pytest -v -rP *.py
File renamed without changes.

0 comments on commit e2d9689

Please sign in to comment.