From 6fa04b2c56e3a9290ecbeaa8fb5c6c061d0231fb Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sun, 24 Nov 2024 21:13:03 -0800 Subject: [PATCH] Experiment with fake-gcs-server References #711. --- .github/workflows/ci-main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 5d77d8aa..ac093651 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -110,6 +110,16 @@ jobs: mvn test -Ds3proxy.test.conf=s3proxy-minio.conf -Dtest=AwsSdkTest kill $(pidof minio) + - name: Install fake-gcs-server + run: go install github.com/fsouza/fake-gcs-server@latest + - name: Start fake-gcs-server + run: $HOME/go/bin/fake-gcs-server -backend memory -scheme http -host 127.0.0.1 & + - name: Maven Test with fake-gcs-server + run: | + # TODO: this fails because the credentials are wrong + # TODO: run other test classes + mvn test -Ds3proxy.test.conf=s3proxy-fake-gcs-server.conf -Dtest=AwsSdkTest + - name: Install s3-tests run: | python -m pip install --upgrade pip