File tree Expand file tree Collapse file tree 5 files changed +12
-122
lines changed Expand file tree Collapse file tree 5 files changed +12
-122
lines changed Original file line number Diff line number Diff line change 2929 with :
3030 go-version : ${{ env['GO_TOOLCHAIN'] }}
3131 - name : Go build (source)
32- run : ./scripts/travis/pr-test .sh build_source
32+ run : ./scripts/ci-runner .sh build_source
3333 - name : Go build (tests)
34- run : ./scripts/travis/pr-test .sh build_tests
34+ run : ./scripts/ci-runner .sh build_tests
3535 - name : Pull base image - ${{ matrix.baseimage }}
3636 run : docker pull ${{ matrix.baseimage }}
3737 - name : Install packages for ${{ matrix.baseimage }}
4444 - name : Wait a bit for the whole system to settle
4545 run : sleep 30s
4646 - name : Run tests
47- run : docker exec --privileged `cat /tmp/cidfile` /bin/bash -c "cd ${BUILD_DIR} && ./scripts/travis/pr-test .sh run_tests"
47+ run : docker exec --privileged `cat /tmp/cidfile` /bin/bash -c "cd ${BUILD_DIR} && ./scripts/ci-runner .sh run_tests"
4848 - name : Cleanup
4949 run : docker kill `cat /tmp/cidfile`
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ jobs:
2727 with :
2828 go-version : ${{ matrix.go }}
2929 - name : Go fmt
30- run : ./scripts/travis/pr-test .sh go_fmt
30+ run : ./scripts/ci-runner .sh go_fmt
3131 - name : Go build (source)
32- run : ./scripts/travis/pr-test .sh build_source
32+ run : ./scripts/ci-runner .sh build_source
3333 - name : Go build (tests)
34- run : ./scripts/travis/pr-test .sh build_tests
34+ run : ./scripts/ci-runner .sh build_tests
3535 - name : Go vet
36- run : ./scripts/travis/pr-test .sh go_vet
36+ run : ./scripts/ci-runner .sh go_vet
3737 build-minimum :
3838 name : " Build on minimum supported toolchain"
3939 runs-on : ubuntu-latest
@@ -47,10 +47,10 @@ jobs:
4747 with :
4848 go-version : ${{ env['ACTION_MINIMUM_TOOLCHAIN'] }}
4949 - name : Go fmt
50- run : ./scripts/travis/pr-test .sh go_fmt
50+ run : ./scripts/ci-runner .sh go_fmt
5151 - name : Go build (source)
52- run : ./scripts/travis/pr-test .sh build_source
52+ run : ./scripts/ci-runner .sh build_source
5353 - name : Go build (tests)
54- run : ./scripts/travis/pr-test .sh build_tests
54+ run : ./scripts/ci-runner .sh build_tests
5555 - name : Go vet
56- run : ./scripts/travis/pr-test .sh go_vet
56+ run : ./scripts/ci-runner .sh go_vet
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ case "$subcommand" in
103103 ;;
104104
105105 * )
106- echo " Error: unrecognized subcommand."
106+ echo " Error: unrecognized subcommand (hint: try with 'run_tests') ."
107107 exit 1
108108 ;;
109109esac
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments