Skip to content

Commit

Permalink
see if this works
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertdeng123 committed Apr 26, 2024
1 parent 0bf0a60 commit db8bac6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ jobs:
sudo curl -L https://github.com/docker/compose/releases/download/${{ matrix.compose_version }}/docker-compose-`uname -s`-`uname -m` -o "${{ matrix.compose_path }}/docker-compose"
sudo chmod +x "${{ matrix.compose_path }}/docker-compose"
- name: Ensure runner is owner of /var/lib/docker to set permissions of docker volumes
run: sudo chown -R $(whoami):$(whoami) /var/lib/docker

- name: Install self-hosted
uses: nick-fields/retry@v3
with:
Expand Down
10 changes: 9 additions & 1 deletion _integration-test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,15 @@ def configure_self_hosted_environment(request):
with open("sentry/requirements.txt", "w") as req_file:
req_file.write("python-ldap\n")
os.environ["MINIMIZE_DOWNTIME"] = "1"
subprocess.run(["./install.sh"], check=True, capture_output=True)
subprocess.run(

Check warning on line 55 in _integration-test/conftest.py

View check run for this annotation

Codecov / codecov/patch

_integration-test/conftest.py#L55

Added line #L55 was not covered by tests
["sudo", "chown", "-R", "$(whoami):$(whoami)", "/var/lib/docker"],
check=True,
)
subprocess.run(

Check warning on line 59 in _integration-test/conftest.py

View check run for this annotation

Codecov / codecov/patch

_integration-test/conftest.py#L59

Added line #L59 was not covered by tests
["./install.sh"],
check=True,
capture_output=True,
)
# Create test user
subprocess.run(
[
Expand Down

0 comments on commit db8bac6

Please sign in to comment.