Skip to content

Commit

Permalink
ci: run all integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
muzarski committed Jul 9, 2024
1 parent ca7dfa3 commit 641c783
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 37 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,11 @@ jobs:
working-directory: ./scylla-rust-wrapper
run: cargo test

- name: Run integration tests on Scylla 5.0.0
- name: Run integration tests on Scylla 5.4.8
env:
# Ignored tests are added in the end, after the "-" sign.
Tests: "ClusterTests.*\
:BasicsTests.*\
:PreparedTests.*\
:CassandraTypes/CassandraTypesTests/*.Integration_Cassandra_*\
:BatchSingleNodeClusterTests*:BatchCounterSingleNodeClusterTests*:BatchCounterThreeNodeClusterTests*\
:ErrorTests.*\
:SslNoClusterTests*:SslNoSslOnClusterTests*\
:SchemaMetadataTest.*KeyspaceMetadata:SchemaMetadataTest.*MetadataIterator:SchemaMetadataTest.*View*\
:TracingTests.*\
:ByNameTests.*\
:CompressionTests.*\
:LoggingTests.*\
:-PreparedTests.Integration_Cassandra_PreparedIDUnchangedDuringReprepare\
:*5.Integration_Cassandra_*\
:*19.Integration_Cassandra_*\
:ExecutionProfileTest.InvalidName"
run: valgrind --error-exitcode=123 --leak-check=full --errors-for-leak-kinds=definite ./cassandra-integration-tests --scylla --version=release:5.0.0 --category=CASSANDRA --verbose=ccm --gtest_filter="$Tests"
Tests: "-AuthenticationTests.*"
run: valgrind --error-exitcode=123 --leak-check=full --errors-for-leak-kinds=definite ./cassandra-integration-tests --scylla --version=release:5.4.8 --category=CASSANDRA --verbose=ccm --gtest_filter="$Tests"

- name: Upload test logs
uses: actions/upload-artifact@v3
Expand Down
21 changes: 2 additions & 19 deletions .github/workflows/cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,8 @@ jobs:
- name: Run integration tests on Cassandra 4.0.7
env:
# Ignored tests are added in the end, after the "-" sign.
Tests: "ClusterTests.*\
:BasicsTests.*\
:PreparedTests.*\
:CassandraTypes/CassandraTypesTests/*.Integration_Cassandra_*\
:ErrorTests.*\
:SslClientAuthenticationTests*:SslNoClusterTests*:SslNoSslOnClusterTests*:SslTests*\
:SchemaMetadataTest.*KeyspaceMetadata:SchemaMetadataTest.*MetadataIterator:SchemaMetadataTest.*View*\
:TracingTests.*\
:ByNameTests.*\
:CompressionTests.*\
:LoggingTests.*\
:-PreparedTests.Integration_Cassandra_PreparedIDUnchangedDuringReprepare\
:PreparedTests.Integration_Cassandra_FailFastWhenPreparedIDChangesDuringReprepare\
:*5.Integration_Cassandra_*\
:*19.Integration_Cassandra_*\
:*7.Integration_Cassandra_*\
:SslTests.Integration_Cassandra_ReconnectAfterClusterCrashAndRestart\
:ExecutionProfileTest.InvalidName"
run: valgrind --error-exitcode=123 --leak-check=full --errors-for-leak-kinds=definite ./cassandra-integration-tests --version=4.0.7 --category=CASSANDRA --verbose=ccm --gtest_filter="$Tests"
Tests: "-AuthenticationTests.*"
run: valgrind --error-exitcode=123 --leak-check=full --errors-for-leak-kinds=definite ./cassandra-integration-tests --version=4.1.4 --category=CASSANDRA --verbose=ccm --gtest_filter="$Tests"

- name: Upload test logs
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 641c783

Please sign in to comment.