Skip to content

Commit

Permalink
GitHub Actions Pipeline CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thinogueiras committed Mar 1, 2024
1 parent 661028e commit 5158de5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: REST-assured Tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
tests:
runs-on: ubuntu-latest
name: API Tests

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven

- name: Build
run: mvn clean compile

- name: Tests
run: mvn test
continue-on-error: true

- name: Upload Reports
if: always()
uses: actions/upload-artifact@v4
with:
name: Allure Reports
path: "**/allure-results/"
retention-days: 90
if-no-files-found: warn
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ git clone https://github.com/thinogueiras/REST-assured.git
### Terminal:

```
mvn clean test
mvn test
```

## Relatório:
Expand Down

0 comments on commit 5158de5

Please sign in to comment.