From d715eb10d3e802e5996e7f01ae4cd9c7be451e2d Mon Sep 17 00:00:00 2001 From: danielegallego Date: Thu, 12 Nov 2026 19:46:00 -0300 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20adi=C3=A7=C3=A3o=20de=20pipes=20CI/?= =?UTF-8?q?CD.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..617eabf --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,60 @@ +name: CI + +on: + push: + branches: [main, oto-development] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 17 + + - uses: gradle/actions/setup-gradle@v4 + + - name: Criar .env de teste + run: | + cat > .env < Date: Thu, 12 Nov 2026 19:57:13 -0300 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20corre=C3=A7=C3=A3od=20e=20teste=20ba?= =?UTF-8?q?rrado=20pelo=20CI.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/OTO/Fixtures.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/OTO/Fixtures.java b/src/test/java/OTO/Fixtures.java index a7c56f3..b4b4ee9 100644 --- a/src/test/java/OTO/Fixtures.java +++ b/src/test/java/OTO/Fixtures.java @@ -66,7 +66,7 @@ public static DadosSecretaria secretaria(String tipo) { } public static DadosSecretaria secretaria(String tipo, Situacao situacao) { - return new DadosSecretaria(tipo, situacao, "Maria", true, "17999990000", "pesquisa@hotel.com", false, false); + return new DadosSecretaria(tipo, situacao, "Maria", true, "17999990000", "pesquisa@hotel.com"); } public static Estabelecimento estabelecimento(long id, String nome, String tipo) {