Skip to content

Test in Docker with Alpine Linux on CI #1826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 16, 2024
Prev Previous commit
Next Next commit
Work around different ownership in container
This handles the "dubious ownership" error for the Alpine Linux
container using safe.directory as is done in the Cygwin job.

Another approach may be to actually use a limited user account in
the container, though, and that may be better, since I expect some
of the rmtree tests in test_util.py to fail due to the root user
being able to perform a delete operation the tests assume cannot be
done.
  • Loading branch information
EliahKagan committed Feb 15, 2024
commit cefb53e32e814eb120b0e7d0405f7baa7bf8d8f1
4 changes: 4 additions & 0 deletions .github/workflows/alpine-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
with:
fetch-depth: 0

- name: Special configuration for Alpine Linux git
run: |
git config --global --add safe.directory "$(pwd)"

- name: Prepare this repo for tests
run: |
./init-tests-after-clone.sh
Expand Down