From 763a583d86386d556e5dfd4b311bdef4f1a7ff20 Mon Sep 17 00:00:00 2001 From: Suzanne Soy Date: Wed, 28 Jul 2021 14:43:27 +0100 Subject: [PATCH] Use $GITHUB_WORKSPACE not $TRAVIS_BUILD_DIR --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1340d09..82dfa85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,3 @@ -# This is a basic workflow to help you get started with Actions - name: CI on: @@ -85,9 +83,9 @@ jobs: - name: Test the Racket package run: raco test -r -p "$(basename "$GITHUB_WORKSPACE")" - name: Check the dependencies of the Racket package - run: if $COV; then raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")"; fi + run: if $COV; then raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$GITHUB_WORKSPACE")"; fi - name: Check documentation coverage - run: if $COV; then raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")"; fi + run: if $COV; then raco doc-coverage "$(basename "$GITHUB_WORKSPACE")"; fi - name: Check code coverage run: if $COV; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi # TODO: add an option to cover to run the "outer" module too, not just the submodules.