This repository was archived by the owner on Jun 6, 2025. It is now read-only.
Gh-3350: Optimisations for federated POC #1517
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous Integration (Legacy) | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '**/README.md' | |
| push: | |
| branches: | |
| - 'release/**' | |
| - 'hotfix/**' | |
| - develop | |
| - master | |
| jobs: | |
| build-then-run-tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| modules: | |
| - name: Core | |
| values: :gaffer2,:core,:access,:cache,:common-util,:data,:exception,:graph,:operation,:serialisation,:store,:type | |
| - name: Accumulo | |
| values: :accumulo-store,:accumulo-rest | |
| - name: Federated-And-Map | |
| values: :integration-test,:federated-store,:map-store,:map-rest,:simple-federated-store | |
| - name: REST | |
| values: :rest-api,:common-rest,:spring-rest,:core-rest,:store-implementation,:proxy-store | |
| - name: Examples | |
| values: :example,:basic,:basic-model,:basic-rest,:road-traffic,:road-traffic-model,:road-traffic-generators,:road-traffic-rest,:road-traffic-demo,:federated-demo | |
| - name: Big-Data-Libraries | |
| values: :flink-library,:hdfs-library,:spark,:spark-library,:spark-accumulo-library | |
| - name: Time-Library | |
| values: :library,:time-library | |
| - name: Caches | |
| values: :cache-library,:sketches-library,:bitmap-library,:hazelcast-cache-service,:jcs-cache-service | |
| env: | |
| MAVEN_OPTS: -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '8' | |
| - name: Cache dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.m2/repository | |
| !~/.m2/repository/uk | |
| key: ${{matrix.modules.name}}-gaffer-dependencies | |
| restore-keys: ${{matrix.modules.name}} | |
| - name: Install | |
| run: mvn -B -ntp clean install -P quick -Dlegacy=true -pl ${{matrix.modules.values}} -am | |
| - name: Test | |
| run: mvn -B -ntp verify -P coverage -Dlegacy=true -pl ${{matrix.modules.values}} |