-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(integration-tests): Run same gemini command as in SCT
In order to be sure everything will work properly inside SCT, we are adding `integration-tests` CI pipeline, to run the same command with same arguments on every pull requests and push to the master branch Signed-off-by: Dusan Malusev <[email protected]>
- Loading branch information
1 parent
accfcf2
commit 94e52f3
Showing
5 changed files
with
124 additions
and
40 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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Gemini Integrations Tests | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: | ||
uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.23" | ||
- name: Build | ||
run: make build | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: bin | ||
path: "./bin/gemini" | ||
if-no-files-found: error | ||
retention-days: 1 | ||
test: | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 1 | ||
matrix: | ||
gemini-features: ["basic", "normal", "all"] | ||
gemini-concurrency: [16] | ||
oracle-scylla-version: ["6.1.1"] | ||
test-scylla-version: ["6.1.1"] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v4 | ||
- name: Start ScyllaDB | ||
id: scylla | ||
run: | | ||
make scylla-setup \ | ||
SCYLLA_TEST_VERSION=${{ matrix.test-scylla-version }} \ | ||
SCYLLA_ORACLE_VERSION=${{ matrix.oracle-scylla-version }} | ||
- name: Test | ||
shell: bash | ||
run: | | ||
make integration-test \ | ||
CONCURRENCY=${{ matrix.gemini-concurrency }} \ | ||
CQL_FEATURES=${{ matrix.gemini-features }} | ||
- name: Shutdown ScyllaDB | ||
run: | | ||
make scylla-shutdown \ | ||
SCYLLA_TEST_VERSION=${{ matrix.test-scylla-version }} \ | ||
SCYLLA_ORACLE_VERSION=${{ matrix.oracle-scylla-version }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
./results/gemini_result.log | ||
./results/gemini_seed | ||
if-no-files-found: error | ||
retention-days: 30 |
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
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
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
This file was deleted.
Oops, something went wrong.