* Optomize memory usage and cache usage * Update version from 1.0.1-beta to 1.0.0-patch * Remove gradle temp * Refactor Gradle CI workflow for improved structure * Update build artifact * Remove deployment step from gradle.yml Removed deployment step to Testers Repo from workflow. * Update build artifact * Fix config * Add NPE catches * Update build artifact * Tab indentation * Update build artifact * Clean up whitespace * Update build artifact * Fix IllegalArgumentException * Update build artifact * Add update check * Fixed update checker * Update build artifact * Add testing... IDK if it will work * Change to java 17 * Fix dependencies? * FR this time trust * Update build artifact * Refactor GitHub Actions workflow for tests Removed redundant job configuration for unit tests and updated the path for uploading test reports. * Update build artifact * maybe fix memory issuses * Update build artifact * Impement @UplandJacob's changes * Update build artifact * undo some things for now * Update build artifact * oop more * Update build artifact * Remove unnecessary line from gradle.yml * Update build artifact * Implement some of @UplandJacob's changes * Update build artifact * Sync with upstream * Revert "Sync with upstream" This reverts commit 1ca2cdae782c35f330d53e659b272d6a7590e83b. * Update build artifact * Remove unnecessary temp vars (used only once each) * Update build artifact * Remove unused version checking var * Update build artifact * Remove old tests * Fix test logging configuration in build.gradle * Update actions/checkout to v6 * Fix buffer index order with optimized loop order * Update build artifact * Move test to correct dir * Partially fix test * Unregister outgoing as well * Add permission for read to make advanced security happy --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: UplandJacob <123428589+UplandJacob@users.noreply.github.com> Co-authored-by: UplandJacob <jacob45feil@gmail.com>
40 lines
764 B
YAML
40 lines
764 B
YAML
name: Build & Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ "**" ]
|
|
pull_request:
|
|
branches: [ "**" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
name: Unit Tests
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Java 17
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
cache: gradle
|
|
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
|
|
- name: Run tests
|
|
run: ./gradlew test --no-daemon
|
|
|
|
- name: Upload test reports
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: test-reports
|
|
path: build/reports/tests/test/
|