Skip to content

Commit

Permalink
Run s3-tests against minio
Browse files Browse the repository at this point in the history
  • Loading branch information
gaul committed Dec 25, 2024
1 parent cb267ee commit a97c7be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ jobs:
run: |
# TODO: run other test classes
mvn test -Ds3proxy.test.conf=s3proxy-minio.conf -Dtest=AwsSdkTest
kill $(pidof minio)
- name: Install s3-tests
run: |
Expand All @@ -124,6 +123,10 @@ jobs:
run: |
./src/test/resources/run-s3-tests.sh s3proxy-azurite.conf
kill $(pidof node)
- name: Run s3-tests with Minio
run: |
./src/test/resources/run-s3-tests.sh s3proxy-minio.conf
kill $(pidof minio)
#Store the target
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
<jclouds.version>2.6.0</jclouds.version>
<jclouds.version>2.6.1-SNAPSHOT</jclouds.version>
<jetty.version>11.0.24</jetty.version>
<slf4j.version>2.0.16</slf4j.version>
<shade.prefix>${project.groupId}.shaded</shade.prefix>
Expand Down
2 changes: 2 additions & 0 deletions src/test/resources/run-s3-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ tags='not fails_on_s3proxy'\
if [ "${S3PROXY_CONF}" = "s3proxy-azurite.conf" ]; then
tags="${tags} and not fails_on_s3proxy_azureblob"
tags="${tags} and not multipart"
elif [ "${S3PROXY_CONF}" = "s3proxy-minio.conf" ]; then
tags="${tags} and not fails_on_s3proxy_minio"
elif [ "${S3PROXY_CONF}" = "s3proxy-transient-nio2.conf" ]; then
tags="${tags} and not fails_on_s3proxy_nio2"
fi
Expand Down

0 comments on commit a97c7be

Please sign in to comment.