-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (25 loc) · 1.02 KB
/
test-compute.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Testing the Compute Stack
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Reclaim some disk space
run : |
docker system prune --all --volumes -f
- name: Test starting Compute
run: |
docker login -u ${{ secrets.NEVERMINED_DOCKER_USERNAME }} -p ${{ secrets.NEVERMINED_DOCKER_TOKEN}}
rm -rf "${HOME}/.nevermined/nevermined-contracts/artifacts"
./start_nevermined.sh --latest --compute --no-graph &
# wait for artifacts
./scripts/wait_for_migration_keeper_artifacts.sh
# wait for argo interface to show up (wait for 12 minutes)
./scripts/wait_for_service.sh http://localhost:2746 -d 5 -r 150