Skip to content

Commit

Permalink
CI: workaround for github actions bug
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Andrew Fasano committed Jul 1, 2021
1 parent 46a1a96 commit 80414e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/parallel_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ jobs:
run: |
docker system prune -af --filter "until=72h"
docker builder prune -af --filter "until=72h"
[[ ! -z "$GITHUB_WORKSPACE" ]] && rm -rf $GITHUB_WORKSPACE
build_and_check_fork: # Forked repos can't use self-hosted test suite - just checkout and run make check
if: github.repository != 'panda-re/panda'
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,7 @@ panda/plugins/syscalls_logger/test/test_fw

# Local files to be gitignored
local

# Workaround for CI to avoid github checkout@v2 actions bug when auto-generating documentation
auto_pydoc
auto_pydoc/pandare

0 comments on commit 80414e0

Please sign in to comment.