akiradeveloper / akashic-storage

Filey system backed S3-compatible storage in Scala/Akka-Http
Apache License 2.0
22 stars 2 forks source link

use s3-tests for regression test #37

Open akiradeveloper opened 8 years ago

akiradeveloper commented 8 years ago

There's gonna be three CI tests:

  1. sbt test
  2. s3-tests with specified tests
  3. s3-tests with all tests

1 and 2 shouldn't fail but failing 3 is ok because it's just seeing what tests still are failing.

gaul commented 8 years ago

@akiradeveloper I have a similar S3 implementation, S3Proxy, which uses s3-tests. You can see how I configured it via Travis here:

The most important part is creating an s3-tests fork and bringing in a submodule which selectively disables tests:

https://github.com/andrewgaul/s3-tests/commit/4347002946bbdc25daaea52184d69069fcc3b317

Hope this helps!

akiradeveloper commented 8 years ago

@andrewgaul Thanks Andrew. My project is doing s3-tests in Travis too and your scripts are similar to mine, but the difference is I didn't fork as you do. My idea is, instead of forking and adding my own annotations within the source code, making a list of tests and giving it to s3-tests' command line. Now I am wondering which is the simpler way.