Skip to content

Commit

Permalink
Bump shmmax on macos x86 and limit the tests we run (#7254)
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan authored Apr 25, 2024
1 parent e1a515a commit fc64e55
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows.src/build.inc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,16 @@
<%- endif %>
PKG_PLATFORM: "<< tgt.platform >>"
PKG_PLATFORM_VERSION: "<< tgt.platform_version >>"
<%- if tgt.platform_version == "x86_64" %>
# Run fewer tests on x86_64, since the test runner is very slow.
PKG_TEST_FILES: "test_dump*.py test_backend_*.py test_database.py test_server_*.py test_edgeql_ddl.py test_session.py"
<%- endif %>
run: |
<%- if tgt.platform_version == "x86_64" %>
# Bump shmmax and shmall to avoid test failures.
sudo sysctl -w kern.sysv.shmmax=12582912
sudo sysctl -w kern.sysv.shmall=12582912
<%- endif %>
edgedb-pkg/integration/macos/test.sh
<%- endfor %>

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/dryrun.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .github/workflows/nightly.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .github/workflows/testing.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fc64e55

Please sign in to comment.