mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-26 10:18:56 -06:00
add comments
This commit is contained in:
2
.github/workflows/ci-bats-unix.yaml
vendored
2
.github/workflows/ci-bats-unix.yaml
vendored
@@ -25,6 +25,8 @@ jobs:
|
||||
env:
|
||||
use_credentials: ${{ secrets.AWS_SECRET_ACCESS_KEY != '' && secrets.AWS_ACCESS_KEY_ID != '' }}
|
||||
steps:
|
||||
# Docker entrypoint and docker tests in general may use more space than is available in the GitHub default runner,
|
||||
# so we remove unused pre-installed programs.
|
||||
- name: Free disk space
|
||||
run: |
|
||||
NAME="DISK-CLEANUP"
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
# tzdata.bats requires a Docker container in order to test an environment with no Go time zone database information is
|
||||
# available. This includes the Unix file system information, which we remove in our tzdataDockerfile. You can find all
|
||||
# locations and properties in the tests below in the documentation links.
|
||||
load "$BATS_TEST_DIRNAME"/helper/common.bash
|
||||
|
||||
TEST_NAME="dolt-tzdata"
|
||||
@@ -12,7 +15,8 @@ setup_file() {
|
||||
docker build -f "$BATS_TEST_DIRNAME/tzdataDockerfile" -t "$TEST_IMAGE" "$WORKSPACE_ROOT"
|
||||
}
|
||||
|
||||
# The 'c' prefixes avoid conflicts with binaries on the local bats runner machine.
|
||||
# The 'c' prefixes avoid conflicts with binaries on the local bats runner machine. The normal binaries are still
|
||||
# available for normal tests for when time zone tables are added.
|
||||
csh() {
|
||||
docker exec -i "$TEST_CONTAINER" sh -lc "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user