Skip to content

Commit

Permalink
Remove sudo from GH workflow
Browse files Browse the repository at this point in the history
Turns out the docker command in CI is set up such that it doesn't need
an explicit sudo, so remove it.  This will also allow us to easily pass
environment variables to mktree in the next commit (as otherwise we'd
have to use the ugly -E, --preserve-env option).

No functional change.
  • Loading branch information
dmnks authored and pmatilai committed Oct 31, 2023
1 parent 4706776 commit 15897bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build the Fedora testing environment
run: sudo ./mktree.docker build
run: ./mktree.docker build
working-directory: ./tests
- name: Run the test suite
run: sudo ./mktree.docker check --interactive=false -j$(nproc)
run: ./mktree.docker check --interactive=false -j$(nproc)
working-directory: ./tests

0 comments on commit 15897bc

Please sign in to comment.