CI test fix (#280)

Addresses OOM in CI
This commit is contained in:
Banks T
2021-08-31 23:27:51 -04:00
committed by GitHub
parent 9dc5481d1c
commit 9cf5c77d69
9 changed files with 115 additions and 102 deletions

View File

@@ -74,8 +74,12 @@ jobs:
chmod +x gradlew
./gradlew build -x check
# Run Tests Generate Coverage Report.
- name: Gradle Test and Coverage
# Run Gradle Tests.
- name: Gradle Tests
run: ./gradlew testHeadless -i
# Generate Coverage Report.
- name: Gradle Coverage
run: ./gradlew jacocoTestReport
# Publish Coverage Report.
@@ -242,11 +246,17 @@ jobs:
- name: Install wpiformat
run: pip3 install wpiformat
- name: Run
run: |
ls -la
wpiformat -clang 10 -f photon-lib
run: wpiformat -clang 10 -f photon-lib
- name: Check Output
run: git --no-pager diff --exit-code HEAD
- name: Generate diff
run: git diff HEAD > wpiformat-fixes.patch
if: ${{ failure() }}
- uses: actions/upload-artifact@v2
with:
name: wpiformat fixes
path: wpiformat-fixes.patch
if: ${{ failure() }}
photon-build-package:
needs: [photonclient-build, photon-build-all, photonserver-build-offline-docs, photonlib-build-host, photonlib-build-docker]