Skip to content

armgit / floci

Public Imported from GitHub
0

Light, fluffy, and always free - The AWS Local Emulator alternative

chore: add pull request workflow for build and test (#37)

Juan Diego López84db057653c5
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000000..1cecd3a425
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,26 @@
+name: CI
+
+on:
+ pull_request:
+ branches:
+ - main
+ - develop
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ name: Build and Test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-java@v4
+ with:
+ java-version: '25'
+ distribution: 'temurin'
+ cache: maven
+
+ - name: Build and test
+ run: mvn clean verify -B
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index d52ae1bb42..813fda3de7 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -85,7 +85,7 @@ Always implement the **real AWS wire protocol** — never invent custom endpoint
- Keep PRs focused — one feature or fix per PR
- Add or update tests for any changed behavior
-- Ensure `./mvnw test` passes before opening the PR
+ CI workflow runs automatically on every PR (build and tests must pass)
- Reference any related issues in the PR description
## Reporting Security Issues