-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c4fce2
commit 6213d3d
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,17 +52,17 @@ jobs: | |
|
||
- name: Get Redis network name | ||
id: redis_network | ||
run: echo "::set-output name=network_name::$(docker network ls --filter name=_default -q)" | ||
run: echo "REDIS_NETWORK_NAME=$(docker network ls --filter name=_default -q)" >> $GITHUB_ENV | ||
|
||
- name: Run tests in Docker container | ||
run: | | ||
docker run --rm \ | ||
--network name=${{ job.services.redis.network }} \ | ||
--network name=$REDIS_NETWORK_NAME \ | ||
-e BLOT_REDIS_HOST=redis \ | ||
my-node-app-builder sh -c "\ | ||
git config --global user.email '[email protected]' && \ | ||
git config --global user.name 'Your Name' && \ | ||
npm run setup && npm test" | ||
node run app/setup && npm test" | ||
- name: Move cache | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters