aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJavi Fontan <jfontan@gmail.com>2020-04-07 19:17:32 +0200
committerJavi Fontan <jfontan@gmail.com>2020-04-07 19:17:32 +0200
commit0eb4a902e28e5709719fa54dc8c3c58425d6d37e (patch)
tree555da021e17492ee46e27ab2bd8c87cfacfebc9d /.github/workflows
parent9c2ab26437152c9a92f66afb51a28c0142f704ad (diff)
downloadgo-git-0eb4a902e28e5709719fa54dc8c3c58425d6d37e.tar.gz
ci: fix compatibility tests
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/git.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml
index 73a916b..f89604b 100644
--- a/.github/workflows/git.yml
+++ b/.github/workflows/git.yml
@@ -1,12 +1,12 @@
on: [push, pull_request]
-name: Git Compatibility
+name: Git Compatibility
jobs:
test:
strategy:
fail-fast: false
matrix:
git: [[master, ubuntu-latest], [v2.11.0, ubuntu-latest]]
-
+
runs-on: ${{ matrix.git[1] }}
env:
GIT_VERSION: ${{ matrix.git[0] }}
@@ -20,7 +20,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
-
+
- name: Install build dependencies
run: sudo apt-get install gettext
@@ -33,8 +33,7 @@ jobs:
git config --global user.name "GitHub Actions"
export PATH=$GIT_DIST_PATH:$PATH
-
- name: Test
env:
- GIT_EXEC_PATH: ${{ env.GIT_DIST_PATH }}
+ GIT_EXEC_PATH: ${{ github.workspace }}/${{ env.GIT_DIST_PATH }}
run: make test-coverage