Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Goshimmer_without_tipselection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
COLLET Ismael
Goshimmer_without_tipselection
Commits
36fddd0f
Commit
36fddd0f
authored
4 years ago
by
Luca Moser
Browse files
Options
Downloads
Patches
Plain Diff
readd all tests again
parent
3360fd66
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/integration-tests.yml
+176
-1
176 additions, 1 deletion
.github/workflows/integration-tests.yml
tools/integration-tests/assets/entrypoint.sh
+1
-1
1 addition, 1 deletion
tools/integration-tests/assets/entrypoint.sh
with
177 additions
and
2 deletions
.github/workflows/integration-tests.yml
+
176
−
1
View file @
36fddd0f
...
...
@@ -4,6 +4,75 @@ on: pull_request
jobs
:
autopeering
:
name
:
autopeering
env
:
TEST_NAME
:
autopeering
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out code
uses
:
actions/checkout@v2
-
name
:
Build GoShimmer image
run
:
docker build -t iotaledger/goshimmer .
-
name
:
Pull additional Docker images
run
:
|
docker pull angelocapossele/drand:latest
docker pull gaiaadm/pumba:0.7.2
docker pull gaiadocker/iproute2:latest
-
name
:
Run integration tests
run
:
docker-compose -f tools/integration-tests/tester/docker-compose.yml up --abort-on-container-exit --exit-code-from tester --build
-
name
:
Create logs from tester
if
:
always()
run
:
|
docker logs tester &> tools/integration-tests/logs/tester.log
-
name
:
Save logs as artifacts
if
:
always()
uses
:
actions/upload-artifact@v1
with
:
name
:
${{ env.TEST_NAME }}
path
:
tools/integration-tests/logs
common
:
name
:
common
env
:
TEST_NAME
:
common
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out code
uses
:
actions/checkout@v2
-
name
:
Build GoShimmer image
run
:
docker build -t iotaledger/goshimmer .
-
name
:
Pull additional Docker images
run
:
|
docker pull angelocapossele/drand:latest
docker pull gaiaadm/pumba:0.7.2
docker pull gaiadocker/iproute2:latest
-
name
:
Run integration tests
run
:
docker-compose -f tools/integration-tests/tester/docker-compose.yml up --abort-on-container-exit --exit-code-from tester --build
-
name
:
Create logs from tester
if
:
always()
run
:
|
docker logs tester &> tools/integration-tests/logs/tester.log
-
name
:
Save logs as artifacts
if
:
always()
uses
:
actions/upload-artifact@v1
with
:
name
:
${{ env.TEST_NAME }}
path
:
tools/integration-tests/logs
consensus
:
name
:
consensus
env
:
...
...
@@ -36,4 +105,110 @@ jobs:
uses
:
actions/upload-artifact@v1
with
:
name
:
${{ env.TEST_NAME }}
path
:
tools/integration-tests/logs
\ No newline at end of file
path
:
tools/integration-tests/logs
drng
:
name
:
drng
env
:
TEST_NAME
:
drng
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out code
uses
:
actions/checkout@v2
-
name
:
Build GoShimmer image
run
:
docker build -t iotaledger/goshimmer .
-
name
:
Pull additional Docker images
run
:
|
docker pull angelocapossele/drand:latest
docker pull gaiaadm/pumba:0.7.2
docker pull gaiadocker/iproute2:latest
-
name
:
Run integration tests
run
:
docker-compose -f tools/integration-tests/tester/docker-compose.yml up --abort-on-container-exit --exit-code-from tester --build
-
name
:
Create logs from tester
if
:
always()
run
:
|
docker logs tester &> tools/integration-tests/logs/tester.log
-
name
:
Save logs as artifacts
if
:
always()
uses
:
actions/upload-artifact@v1
with
:
name
:
${{ env.TEST_NAME }}
path
:
tools/integration-tests/logs
message
:
name
:
message
env
:
TEST_NAME
:
message
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out code
uses
:
actions/checkout@v2
-
name
:
Build GoShimmer image
run
:
docker build -t iotaledger/goshimmer .
-
name
:
Pull additional Docker images
run
:
|
docker pull angelocapossele/drand:latest
docker pull gaiaadm/pumba:0.7.2
docker pull gaiadocker/iproute2:latest
-
name
:
Run integration tests
run
:
docker-compose -f tools/integration-tests/tester/docker-compose.yml up --abort-on-container-exit --exit-code-from tester --build
-
name
:
Create logs from tester
if
:
always()
run
:
|
docker logs tester &> tools/integration-tests/logs/tester.log
-
name
:
Save logs as artifacts
if
:
always()
uses
:
actions/upload-artifact@v1
with
:
name
:
${{ env.TEST_NAME }}
path
:
tools/integration-tests/logs
value
:
name
:
value
env
:
TEST_NAME
:
value
runs-on
:
ubuntu-latest
steps
:
-
name
:
Check out code
uses
:
actions/checkout@v2
-
name
:
Build GoShimmer image
run
:
docker build -t iotaledger/goshimmer .
-
name
:
Pull additional Docker images
run
:
|
docker pull angelocapossele/drand:latest
docker pull gaiaadm/pumba:0.7.2
docker pull gaiadocker/iproute2:latest
-
name
:
Run integration tests
run
:
docker-compose -f tools/integration-tests/tester/docker-compose.yml up --abort-on-container-exit --exit-code-from tester --build
-
name
:
Create logs from tester
if
:
always()
run
:
|
docker logs tester &> tools/integration-tests/logs/tester.log
-
name
:
Save logs as artifacts
if
:
always()
uses
:
actions/upload-artifact@v1
with
:
name
:
${{ env.TEST_NAME }}
path
:
tools/integration-tests/logs
This diff is collapsed.
Click to expand it.
tools/integration-tests/assets/entrypoint.sh
+
1
−
1
View file @
36fddd0f
...
...
@@ -6,4 +6,4 @@ chmod 777 /assets/*
echo
"assets:"
ls
/assets
echo
"running tests..."
go
test
./tests/
"
${
TEST_NAME
}
"
-run
TestConsensusFiftyFiftyOpinionSplit
-v
-timeout
30m
go
test
./tests/
"
${
TEST_NAME
}
"
-v
-timeout
30m
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment