Skip to content

Commit

Permalink
feat: use test workflow from workflow repository
Browse files Browse the repository at this point in the history
  • Loading branch information
reinaldocosta committed Mar 27, 2024
1 parent b72706d commit 201be97
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: TestProject

on:
push:
branches:
- main

jobs:
test:
uses: gentrop-cloud/actions_workflows/.github/workflows/test.yaml@main
with:
node_version: '20'
10 changes: 9 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,12 @@ This action help us in two great ways:
### Annotating the linting issue on the PR.
![alt text](annotation-pr.png)
### Fixing auto. some linting issues
![alt text](auto-fix.png)
![alt text](auto-fix.png)

## Testing

The idea of this workflow is to show some ways of running our tests. And to have a default, but extensible, workflow to minimize some mistake that could happen.
Some nice features to showcase here is the hability to generate reports inside the action, and to generate badges after the tests.
### Reports

### Badges

0 comments on commit 201be97

Please sign in to comment.