Reduce deadlock potential in FileSynchronizedRegistryImpl and Audio Engine improvements #176
Workflow file for this run
This file contains 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: Build and Test | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
- beta | |
- "epic/**" | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
build: | |
name: "Build" | |
timeout-minutes: 10 | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Branch" | |
uses: actions/checkout@v2 | |
- name: "Setup Java" | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Setup Gradle cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.gradle | |
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle | |
- name: "build backend" | |
run: ./gradlew build -x test | |
- name: Upload Gradle reports | |
uses: actions/[email protected] | |
if: ${{ failure() }} | |
with: | |
name: Build Backend Reports | |
path: "**/build/reports" | |
test: | |
name: "Test" | |
timeout-minutes: 30 | |
if: github.event.pull_request.draft == false | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Branch" | |
uses: actions/checkout@v2 | |
- name: "Setup Java" | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Setup Gradle cache | |
uses: actions/[email protected] | |
with: | |
path: ~/.gradle | |
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle | |
- name: "test backend" | |
run: ./gradlew cleanTest check --no-build-cache | |
env: | |
RUN_LONG_INTEGRATION_TESTS: false | |
- name: Upload Gradle reports | |
uses: actions/[email protected] | |
if: ${{ failure() }} | |
with: | |
name: Test Backend Reports | |
path: "**/build/reports" |