[core] clang-format almost all first-party code #1191
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
# Subzero java unit tests | |
name: "Java Unit Test" | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [master] | |
schedule: | |
# Daily at 1am | |
- cron: '0 1 * * *' | |
jobs: | |
java-unit-test: | |
name: "Java Unit Test" | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -euxo pipefail {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.9] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
# We must fetch at least the immediate parents so that if this is | |
# a pull request then we can checkout the head. | |
fetch-depth: 2 | |
submodules: 'recursive' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
# Unit tests for Java | |
- name: Run Unit tests | |
run: | | |
cd ${{ github.workspace }}/java | |
./gradlew test --info |