From 777c6a9673d7d23f54087af06bd80e6e9ed4d90c Mon Sep 17 00:00:00 2001 From: "EMEA-MEDIA\\scabra02" Date: Thu, 22 Aug 2024 16:46:42 +0100 Subject: [PATCH 1/2] update actions --- .github/workflows/run-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 2b2141e..2f269be 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,7 +2,12 @@ name: Run LocalStack And Execute Keyword Tests on: push: + branches: + - master + - 'test/**' pull_request: + branches: + - master jobs: run-localstack-and-robot: From bb7a4934930a85b7044e077ddbfb054d07fbd763 Mon Sep 17 00:00:00 2001 From: "EMEA-MEDIA\\scabra02" Date: Thu, 22 Aug 2024 16:56:53 +0100 Subject: [PATCH 2/2] test actions --- CONTRIBUTING.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ff0ec30..c625e11 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,6 +28,9 @@ To start localstack just run inside localstack folder: docker-compose up -d ``` Then you can use inside robot, the endpoint http://localhost:4566 +see some examples in /tests/robot folder + +I only tested this docker on Ubuntu, if you use other system and got some error, fell free to fix and send some pull request. ### Robot Framework @@ -76,9 +79,12 @@ robot -d log -L TRACE tests/robot/s3.robot robot -d log -L TRACE -i s3 tests/robot ``` +### GitHub Actions + +If you donĀ“t have the environment to test the Library, you can fork the project and create the branch inside the folder +test. Like "test/my-branch" then after do a push the GitHub actions will start the tests. + ### TO-DO -- [x] Create CloudWatch and DynamoDB in localstack and create robot tests -- [x] Create GitHub actions to run the tests in push and merges. - [ ] Add more services in library and in localstack - [ ] Add robot tests for this new services