From 7f109e2f317213441c9534204ba9c1ba2f4d0ad4 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Fri, 13 Oct 2023 16:01:38 +0800 Subject: [PATCH] Fix ambiguous argument 'origin/master...HEAD' --- .github/workflows/GithubActionTests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/GithubActionTests.yml b/.github/workflows/GithubActionTests.yml index 091b4d5e64..ddd7741ce7 100644 --- a/.github/workflows/GithubActionTests.yml +++ b/.github/workflows/GithubActionTests.yml @@ -42,6 +42,7 @@ jobs: run: | eval "$(conda shell.bash hook)" conda activate bioconda + git fetch origin master:refs/remotes/origin/master if git diff --name-only origin/master...HEAD | grep -vE ^docs; then py.test --durations=0 test/ -v --log-level=DEBUG --tb=native -m '${{ matrix.py_test_marker }}' else @@ -70,6 +71,7 @@ jobs: run: | eval "$(conda shell.bash hook)" conda activate bioconda + git fetch origin master:refs/remotes/origin/master if git diff --name-only origin/master...HEAD | grep -vE ^docs; then py.test --durations=0 test/ -v --log-level=DEBUG -k "not docker" --tb=native else