Skip to content

Commit

Permalink
Generate default goth assets before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azawlocki committed Mar 29, 2021
1 parent 33e57ed commit f16cc5a
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 198 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
- name: Run test suite
env:
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: poetry run poe goth-tests
run: |
poetry run poe goth-assets
poetry run poe goth-tests
- name: Upload test logs
uses: actions/upload-artifact@v2
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ ya-market = "0.1.0"

[tool.poe.tasks]
test = "pytest --cov=yapapi --ignore tests/goth"
goth-assets = "python -m goth create-assets tests/goth/assets"
goth-tests = "pytest -svx tests/goth"
typecheck = "mypy ."
codestyle = "black --check --diff ."
Expand Down
1 change: 0 additions & 1 deletion tests/goth/assets/docker/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions tests/goth/assets/docker/docker-compose.yml

This file was deleted.

37 changes: 0 additions & 37 deletions tests/goth/assets/docker/proxy-nginx.Dockerfile

This file was deleted.

8 changes: 0 additions & 8 deletions tests/goth/assets/docker/yagna-goth-deb.Dockerfile

This file was deleted.

10 changes: 0 additions & 10 deletions tests/goth/assets/docker/yagna-goth.Dockerfile

This file was deleted.

62 changes: 0 additions & 62 deletions tests/goth/assets/goth-config.yml

This file was deleted.

1 change: 0 additions & 1 deletion tests/goth/assets/keys/001.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/goth/assets/keys/002.json

This file was deleted.

1 change: 0 additions & 1 deletion tests/goth/assets/keys/003.json

This file was deleted.

10 changes: 0 additions & 10 deletions tests/goth/assets/provider/hardware.json

This file was deleted.

28 changes: 0 additions & 28 deletions tests/goth/assets/provider/presets.json

This file was deleted.

0 comments on commit f16cc5a

Please sign in to comment.