Skip to content

Commit 8ee1e2c

Browse files
Merge pull request #60 from samuelpcabral/test/first_test
Edit GitHub Action and CONTRIBUTING.md
2 parents 0bb1b6f + bb7a493 commit 8ee1e2c

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ name: Run LocalStack And Execute Keyword Tests
22

33
on:
44
push:
5+
branches:
6+
- master
7+
- 'test/**'
58
pull_request:
9+
branches:
10+
- master
611

712
jobs:
813
run-localstack-and-robot:

CONTRIBUTING.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ To start localstack just run inside localstack folder:
2828
docker-compose up -d
2929
```
3030
Then you can use inside robot, the endpoint http://localhost:4566
31+
see some examples in /tests/robot folder
32+
33+
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.
3134

3235
### Robot Framework
3336

@@ -76,9 +79,12 @@ robot -d log -L TRACE tests/robot/s3.robot
7679
robot -d log -L TRACE -i s3 tests/robot
7780
```
7881

82+
### GitHub Actions
83+
84+
If you don´t have the environment to test the Library, you can fork the project and create the branch inside the folder
85+
test. Like "test/my-branch" then after do a push the GitHub actions will start the tests.
86+
7987
### TO-DO
8088

81-
- [x] Create CloudWatch and DynamoDB in localstack and create robot tests
82-
- [x] Create GitHub actions to run the tests in push and merges.
8389
- [ ] Add more services in library and in localstack
8490
- [ ] Add robot tests for this new services

0 commit comments

Comments
 (0)