Skip to content

Commit

Permalink
Test running server
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <[email protected]>
  • Loading branch information
GumpacG committed Sep 11, 2024
1 parent d42f3fc commit 22d6a13
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ jobs:

runs-on: ${{ matrix.host.RUNNER }}
steps:
- name: Start Valkey server
run: |
if ${{ matrix.host.OS }} == ubuntu; then
apt-get install valkey
systemctl start valkey
else
brew install valkey
brew services start valkey
fi
- uses: actions/checkout@v4
with:
submodules: recursive
Expand All @@ -94,16 +104,6 @@ jobs:
version: "26.1"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Start Valkey server
run: |
if ${{ matrix.host.OS }} == 'ubuntu'; then
apt-get install valkey
systemctl start valkey
else
brew install valkey
brew services start valkey
fi
- name: Test deployment
working-directory: java
run: |
Expand All @@ -115,7 +115,7 @@ jobs:
if ${{ matrix.host.OS }} == 'ubuntu'; then
systemctl stop valkey
else
brew systemctl stop valkey
brew services stop valkey
fi
#
Expand Down

0 comments on commit 22d6a13

Please sign in to comment.