Skip to content

Commit 80414e0

Browse files
author
Andrew Fasano
committed
CI: workaround for github actions bug
Github Actions checkout@v2 fails to properly cleanup state in self-hosted runners which leads to errors from prior CI runs. actions/checkout#385 Adding the created submodule directory to gitignore should hopefully prevent this from happening: actions/checkout#424 (comment).
1 parent 46a1a96 commit 80414e0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/parallel_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ jobs:
9797
run: |
9898
docker system prune -af --filter "until=72h"
9999
docker builder prune -af --filter "until=72h"
100-
[[ ! -z "$GITHUB_WORKSPACE" ]] && rm -rf $GITHUB_WORKSPACE
101100
102101
build_and_check_fork: # Forked repos can't use self-hosted test suite - just checkout and run make check
103102
if: github.repository != 'panda-re/panda'

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,7 @@ panda/plugins/syscalls_logger/test/test_fw
166166

167167
# Local files to be gitignored
168168
local
169+
170+
# Workaround for CI to avoid github checkout@v2 actions bug when auto-generating documentation
171+
auto_pydoc
172+
auto_pydoc/pandare

0 commit comments

Comments
 (0)