diff --git a/.github/workflows/continuos-integration.yaml b/.github/workflows/continuos-integration.yaml new file mode 100644 index 0000000..bc64e3a --- /dev/null +++ b/.github/workflows/continuos-integration.yaml @@ -0,0 +1,21 @@ +name: Continuous Integration +on: + pull_request: + types: [opened, reopened] + branches: + - "develop" +jobs: + tests: + runs-on: ubuntu-latest + steps: + - + name: Git Checkout + uses: actions/checkout@v4 + + - name: Setup Java SDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + - name: Unit tests + run: mvn test \ No newline at end of file diff --git a/README.md b/README.md index 541f35a..5e1c717 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Aplicação API +### Aplicação teste para estudar CI/CD e Azure + ## Pré-requisitos - Java 21