-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
4 changed files
with
95 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
# - - - - - - - - - - - - - - - - - - - - - - - - | ||
on_ci_upgrade_docker_compose() | ||
{ | ||
echo | ||
if ! on_ci; then | ||
echo 'not on CI so not upgrading docker-compose' | ||
else | ||
echo 'on CI so upgrading docker-compose' | ||
# docker-compose.yml uses this: | ||
# | ||
# volumes: | ||
# - type: tmpfs | ||
# target: /tmp | ||
# tmpfs: | ||
# mode: 01777 | ||
# | ||
# and the mode: option is not supported in the version of docker-compose | ||
# currently installed in ubuntu-latest in the Github Action's main.yml | ||
# | ||
# https://stackoverflow.com/questions/49839028 | ||
sudo curl -L "https://github.com/docker/compose/releases/download/`curl -fsSLI -o /dev/null -w %{url_effective} https://github.com/docker/compose/releases/latest | sed 's#.*tag/##g' && echo`/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose | ||
fi | ||
echo | ||
} | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ "server": | ||
{ | ||
"timestamp": 1699306114, | ||
"command_name": "Minitest", | ||
"groups": { | ||
"app": { | ||
"lines": { | ||
"total": 69, | ||
"covered": 69, | ||
"missed": 0 | ||
}, | ||
"branches": { | ||
"total": 0, | ||
"covered": 0, | ||
"missed": 0 | ||
} | ||
}, | ||
"test": { | ||
"lines": { | ||
"total": 0, | ||
"covered": 0, | ||
"missed": 0 | ||
}, | ||
"branches": { | ||
"total": 0, | ||
"covered": 0, | ||
"missed": 0 | ||
} | ||
} | ||
} | ||
}, "client": | ||
{ | ||
"timestamp": 1699306118, | ||
"command_name": "Minitest", | ||
"groups": { | ||
"app": { | ||
"lines": { | ||
"total": 52, | ||
"covered": 52, | ||
"missed": 0 | ||
}, | ||
"branches": { | ||
"total": 2, | ||
"covered": 1, | ||
"missed": 1 | ||
} | ||
}, | ||
"test": { | ||
"lines": { | ||
"total": 0, | ||
"covered": 0, | ||
"missed": 0 | ||
}, | ||
"branches": { | ||
"total": 0, | ||
"covered": 0, | ||
"missed": 0 | ||
} | ||
} | ||
} | ||
}} |