Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
958477be
Unverified
Commit
958477be
authored
Jun 08, 2021
by
Annie Ke
Committed by
GitHub
Jun 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: add sync test's own workflow (#1031)
parent
0cbaa9a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
sync-tests.yml
.github/workflows/sync-tests.yml
+44
-0
No files found.
.github/workflows/sync-tests.yml
0 → 100644
View file @
958477be
name
:
sync-tests
on
:
push
:
branches
:
-
'
master'
-
'
develop'
-
'
regenesis/*'
pull_request
:
workflow_dispatch
:
jobs
:
integration-sync-test
:
runs-on
:
ubuntu-latest
env
:
DOCKER_BUILDKIT
:
1
COMPOSE_DOCKER_CLI_BUILD
:
1
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Get yarn cache directory path
id
:
yarn-cache-dir-path
run
:
echo "::set-output name=dir::$(yarn cache dir)"
-
uses
:
actions/cache@v2
id
:
yarn-cache
with
:
path
:
${{ steps.yarn-cache-dir-path.outputs.dir }}
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys
:
|
${{ runner.os }}-yarn-
-
name
:
Build the services
working-directory
:
./ops
run
:
./scripts/build-ci.sh
-
name
:
Bring the stack up
working-directory
:
./ops
run
:
docker-compose up -d && ./scripts/wait-for-sequencer.sh
-
name
:
Run the sync tests
working-directory
:
./integration-tests
run
:
|
yarn
yarn test:sync
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment