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 d51a26e commit 3e2bc9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:

runs-on: ${{ matrix.host.RUNNER }}
steps:
- name: Start Valkey server
- name: Start Redis server
run: |
if [[ ${{ matrix.host.OS }} == ubuntu ]]; then
sudo apt-get install valkey
sudo systemctl start valkey
sudo apt-get install redis
sudo systemctl start redis
else
brew install valkey
brew services start valkey
brew install redis
brew services start redis
fi
- uses: actions/checkout@v4
Expand Down Expand Up @@ -109,13 +109,13 @@ jobs:
run: |
./gradlew :benchmarks:run --args="--minimal --clients glide"
- name: Stop Valkey server
- name: Stop Redis server
if: ${{ always() }}
run: |
if [[ ${{ matrix.host.OS }} == ubuntu ]]; then
systemctl stop valkey
systemctl stop redis
else
brew services stop valkey
brew services stop redis
fi
#
Expand Down

0 comments on commit 3e2bc9b

Please sign in to comment.