diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index e69de29..13aff13 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,34 @@ +name: Java CI with Maven + +on: + push: + branches: [ "feature/workflow" ] + pull_request: + branches: [ "develop" ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout código + uses: actions/checkout@v4 + + - name: Configurar JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + + - name: Execute maven test + run: mvn test + continue-on-error: true + + - name: Upload test report + if: always() + uses: actions/upload-artifact@v4 + with: + name: relatorio-testes + path: target/surefire-reports/ \ No newline at end of file diff --git a/.github/workflows/trigger.txt b/.github/workflows/trigger.txt new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore index ea46cd2..7e096bd 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,6 @@ build/ *.iml .project .classpath -.settings/ \ No newline at end of file +.settings/ + +# MCP \ No newline at end of file diff --git a/.roo/mcp.json b/.roo/mcp.json new file mode 100644 index 0000000..8697a09 --- /dev/null +++ b/.roo/mcp.json @@ -0,0 +1,14 @@ +{ + "mcpServers": { + "github-lite": { + "command": "npx", + "args": [ + "-y", + "@modelcontextprotocol/server-github" + ], + "env": { + "GITHUB_PERSONAL_ACCESS_TOKEN": "" + } + } + } +} \ No newline at end of file