From 3c143976bbcb68656d670806c7d6dc85f9eee75a Mon Sep 17 00:00:00 2001 From: Abhijeet Patil Date: Wed, 17 Jan 2024 15:37:21 +0000 Subject: [PATCH] testing the regression test for debug and release branch --- .github/workflows/build_and_test.yml | 40 ++++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3cc58b64ff..a0ae071063 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -351,26 +351,26 @@ jobs: run: | ${cov_prefix} mold -run cargo build $CARGO_FLAGS $CARGO_FEATURES --bins --tests - - name: Run rust tests - run: | - ${cov_prefix} cargo nextest run $CARGO_FLAGS $CARGO_FEATURES - - # Run separate tests for real S3 - export ENABLE_REAL_S3_REMOTE_STORAGE=nonempty - export REMOTE_STORAGE_S3_BUCKET=neon-github-ci-tests - export REMOTE_STORAGE_S3_REGION=eu-central-1 - # Avoid `$CARGO_FEATURES` since there's no `testing` feature in the e2e tests now - ${cov_prefix} cargo nextest run $CARGO_FLAGS -E 'package(remote_storage)' -E 'test(test_real_s3)' - - # Run separate tests for real Azure Blob Storage - # XXX: replace region with `eu-central-1`-like region - export ENABLE_REAL_AZURE_REMOTE_STORAGE=y - export AZURE_STORAGE_ACCOUNT="${{ secrets.AZURE_STORAGE_ACCOUNT_DEV }}" - export AZURE_STORAGE_ACCESS_KEY="${{ secrets.AZURE_STORAGE_ACCESS_KEY_DEV }}" - export REMOTE_STORAGE_AZURE_CONTAINER="${{ vars.REMOTE_STORAGE_AZURE_CONTAINER }}" - export REMOTE_STORAGE_AZURE_REGION="${{ vars.REMOTE_STORAGE_AZURE_REGION }}" - # Avoid `$CARGO_FEATURES` since there's no `testing` feature in the e2e tests now - ${cov_prefix} cargo nextest run $CARGO_FLAGS -E 'package(remote_storage)' -E 'test(test_real_azure)' +# - name: Run rust tests +# run: | +# ${cov_prefix} cargo nextest run $CARGO_FLAGS $CARGO_FEATURES +# +# # Run separate tests for real S3 +# export ENABLE_REAL_S3_REMOTE_STORAGE=nonempty +# export REMOTE_STORAGE_S3_BUCKET=neon-github-ci-tests +# export REMOTE_STORAGE_S3_REGION=eu-central-1 +# # Avoid `$CARGO_FEATURES` since there's no `testing` feature in the e2e tests now +# ${cov_prefix} cargo nextest run $CARGO_FLAGS -E 'package(remote_storage)' -E 'test(test_real_s3)' +# +# # Run separate tests for real Azure Blob Storage +# # XXX: replace region with `eu-central-1`-like region +# export ENABLE_REAL_AZURE_REMOTE_STORAGE=y +# export AZURE_STORAGE_ACCOUNT="${{ secrets.AZURE_STORAGE_ACCOUNT_DEV }}" +# export AZURE_STORAGE_ACCESS_KEY="${{ secrets.AZURE_STORAGE_ACCESS_KEY_DEV }}" +# export REMOTE_STORAGE_AZURE_CONTAINER="${{ vars.REMOTE_STORAGE_AZURE_CONTAINER }}" +# export REMOTE_STORAGE_AZURE_REGION="${{ vars.REMOTE_STORAGE_AZURE_REGION }}" +# # Avoid `$CARGO_FEATURES` since there's no `testing` feature in the e2e tests now +# ${cov_prefix} cargo nextest run $CARGO_FLAGS -E 'package(remote_storage)' -E 'test(test_real_azure)' - name: Install rust binaries run: |