-
Notifications
You must be signed in to change notification settings - Fork 702
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce FreeBSD daily scope. (#12758)
The full test is very flaky running on a VM inside GitHub worker, so we have to settle for only building and running a small smoke test. Signed-off-by: Ping Xie <[email protected]>
- Loading branch information
Showing
1 changed file
with
10 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -944,95 +944,29 @@ jobs: | |
runs-on: macos-12 | ||
if: | | ||
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) && | ||
!contains(github.event.inputs.skipjobs, 'freebsd') && !(contains(github.event.inputs.skiptests, 'redis') && contains(github.event.inputs.skiptests, 'modules')) | ||
!contains(github.event.inputs.skipjobs, 'freebsd') | ||
timeout-minutes: 14400 | ||
steps: | ||
- name: prep | ||
if: github.event_name == 'workflow_dispatch' | ||
run: | | ||
echo "GITHUB_REPOSITORY=${{github.event.inputs.use_repo}}" >> $GITHUB_ENV | ||
echo "GITHUB_HEAD_REF=${{github.event.inputs.use_git_ref}}" >> $GITHUB_ENV | ||
echo "skipjobs: ${{github.event.inputs.skipjobs}}" | ||
echo "skiptests: ${{github.event.inputs.skiptests}}" | ||
echo "test_args: ${{github.event.inputs.test_args}}" | ||
echo "cluster_test_args: ${{github.event.inputs.cluster_test_args}}" | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ env.GITHUB_REPOSITORY }} | ||
ref: ${{ env.GITHUB_HEAD_REF }} | ||
- name: test | ||
uses: vmactions/[email protected] | ||
with: | ||
usesh: true | ||
sync: rsync | ||
copyback: false | ||
prepare: pkg install -y bash gmake lang/tcl86 lang/tclx | ||
run: > | ||
gmake || exit 1 ; | ||
if echo "${{github.event.inputs.skiptests}}" | grep -vq redis ; then ./runtest --verbose --timeout 2400 --no-latency --dump-logs ${{github.event.inputs.test_args}} || exit 1 ; fi ; | ||
if echo "${{github.event.inputs.skiptests}}" | grep -vq modules ; then MAKE=gmake ./runtest-moduleapi --verbose --timeout 2400 --no-latency --dump-logs ${{github.event.inputs.test_args}} || exit 1 ; fi ; | ||
test-freebsd-sentinel: | ||
runs-on: macos-12 | ||
if: | | ||
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) && | ||
!contains(github.event.inputs.skipjobs, 'freebsd') && !contains(github.event.inputs.skiptests, 'sentinel') | ||
timeout-minutes: 14400 | ||
steps: | ||
- name: prep | ||
if: github.event_name == 'workflow_dispatch' | ||
run: | | ||
echo "GITHUB_REPOSITORY=${{github.event.inputs.use_repo}}" >> $GITHUB_ENV | ||
echo "GITHUB_HEAD_REF=${{github.event.inputs.use_git_ref}}" >> $GITHUB_ENV | ||
echo "skipjobs: ${{github.event.inputs.skipjobs}}" | ||
echo "skiptests: ${{github.event.inputs.skiptests}}" | ||
echo "test_args: ${{github.event.inputs.test_args}}" | ||
echo "cluster_test_args: ${{github.event.inputs.cluster_test_args}}" | ||
- uses: actions/checkout@v3 | ||
uses: cross-platform-actions/[email protected] | ||
with: | ||
repository: ${{ env.GITHUB_REPOSITORY }} | ||
ref: ${{ env.GITHUB_HEAD_REF }} | ||
- name: test | ||
uses: vmactions/[email protected] | ||
with: | ||
usesh: true | ||
sync: rsync | ||
copyback: false | ||
prepare: pkg install -y bash gmake lang/tcl86 lang/tclx | ||
run: > | ||
gmake || exit 1 ; | ||
if echo "${{github.event.inputs.skiptests}}" | grep -vq sentinel ; then ./runtest-sentinel ${{github.event.inputs.cluster_test_args}} || exit 1 ; fi ; | ||
test-freebsd-cluster: | ||
runs-on: macos-12 | ||
if: | | ||
(github.event_name == 'workflow_dispatch' || (github.event_name != 'workflow_dispatch' && github.repository == 'valkey-io/valkey')) && | ||
!contains(github.event.inputs.skipjobs, 'freebsd') && !contains(github.event.inputs.skiptests, 'cluster') | ||
timeout-minutes: 14400 | ||
steps: | ||
- name: prep | ||
if: github.event_name == 'workflow_dispatch' | ||
run: | | ||
echo "GITHUB_REPOSITORY=${{github.event.inputs.use_repo}}" >> $GITHUB_ENV | ||
echo "GITHUB_HEAD_REF=${{github.event.inputs.use_git_ref}}" >> $GITHUB_ENV | ||
echo "skipjobs: ${{github.event.inputs.skipjobs}}" | ||
echo "skiptests: ${{github.event.inputs.skiptests}}" | ||
echo "test_args: ${{github.event.inputs.test_args}}" | ||
echo "cluster_test_args: ${{github.event.inputs.cluster_test_args}}" | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ env.GITHUB_REPOSITORY }} | ||
ref: ${{ env.GITHUB_HEAD_REF }} | ||
- name: test | ||
uses: vmactions/[email protected] | ||
with: | ||
usesh: true | ||
sync: rsync | ||
copyback: false | ||
prepare: pkg install -y bash gmake lang/tcl86 lang/tclx | ||
run: > | ||
gmake || exit 1 ; | ||
if echo "${{github.event.inputs.skiptests}}" | grep -vq cluster ; then ./runtest-cluster ${{github.event.inputs.cluster_test_args}} || exit 1 ; fi ; | ||
operating_system: freebsd | ||
environment_variables: MAKE | ||
version: 13.2 | ||
shell: bash | ||
run: | | ||
sudo pkg install -y bash gmake lang/tcl86 lang/tclx | ||
gmake | ||
./runtest --single unit/keyspace --single unit/auth --single unit/networking --single unit/protocol | ||
test-alpine-jemalloc: | ||
runs-on: ubuntu-latest | ||
|