diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 375b58ac..2aba8870 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,6 +7,7 @@ Please read through this document before submitting any issues or pull requests information to effectively respond to your bug report or contribution. + ## Reporting Bugs/Feature Requests We welcome you to use the GitHub issue tracker to report bugs or suggest features. @@ -20,6 +21,9 @@ reported the issue. Please try to include as much information as you can. Detail * Anything unusual about your environment or deployment + + + ## Contributing via Pull Requests Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: @@ -58,4 +62,21 @@ If you discover a potential security issue in this project we ask that you notif See the [LICENSE](https://github.com/aws/amazon-sagemaker-sklearn-container/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. + We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes. + + + + + + + + + + + + + + + + diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 00000000..707afe91 --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,45 @@ +version: 0.2 + +phases: + install: + runtime-versions: + python: 3.10 + commands: + - pip install pytest + + build: + commands: + - echo "Running tests..." + - | + cat << EOF > test_sample.py + def test_sample(): + assert True + EOF + - pytest --junitxml=test-results.xml test_sample.py + + post_build: + commands: + - | + if [ $CODEBUILD_BUILD_SUCCEEDING = 1 ]; then + echo "Build succeeded" + else + echo "Build failed" + exit 1 + fi + +reports: + status: + file-format: JUNITXML + files: + - test-results.xml + discard-paths: no + scikit-learn-test-status: + file-format: JUNITXML + files: + - test-results.xml + discard-paths: no + +artifacts: + files: + - test-results.xml + name: test-results \ No newline at end of file diff --git a/docker/1.2-1/base/Dockerfile.cpu b/docker/1.2-1/base/Dockerfile.cpu index 172fe812..fa81a1c9 100644 --- a/docker/1.2-1/base/Dockerfile.cpu +++ b/docker/1.2-1/base/Dockerfile.cpu @@ -32,6 +32,7 @@ RUN apt-get update && \ apparmor\ libgstreamer1.0-0 \ linux-libc-dev \ + libsoup2.4-1 \ && \ # MLIO build dependencies # Official Ubuntu APT repositories do not contain an up-to-date version of CMake required to build MLIO.