Skip to content

Commit

Permalink
adding instruction to create secretes in github
Browse files Browse the repository at this point in the history
  • Loading branch information
sadabnepal committed Mar 24, 2024
1 parent 91683c7 commit 618d24d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,7 @@ npm test
Report Path:
```bash
path: <PROJECT_FOLDER>/report/index.html
```
GitHub Actions:
> With Each push on master branch all test will be executed using github action and docker image.
> Post execution report will be copied to github artifact which can be later downloaded.
```bash
Path: https://github.com/sadabnepal/APITestFrameworkMochaTS/actions
path: <PROJECT_FOLDER>/report/index_yyyy\'T\'HH-MM-ss.html
```

Docker Run:
Expand All @@ -50,6 +43,9 @@ docker build -t node-api-image . [ you can given any name of your choice ]
docker run node-api-image:latest [ to run test inside docker ]
```

Run in Github Actions
> Currently test is setup to execute in github action on push event. You need to [create github secrete]((https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)) for `GO_RES_USER_TOKEN` with value generated in `Setup user token` step.
#### Features:
- Supertest library
- Mocha framework with mochawesome report integration
Expand Down

0 comments on commit 618d24d

Please sign in to comment.