-
-
Notifications
You must be signed in to change notification settings - Fork 209
32 lines (27 loc) · 898 Bytes
/
bbc-ubuntu.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Binary Backward Compatibility
on: [ push, pull_request ]
jobs:
build:
env:
JAVA_VERSION: '11'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Set up JDK ${{ matrix.java_version }}"
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{env.JAVA_VERSION}}
- name: bbcTests
env:
BC: 1
run: ./gradlew bbcTests --stacktrace
- name: Upload windows build code coverage
uses: codecov/codecov-action@v3.1.3
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: bbc
env_vars: JAVA_VERSION
# too many timeout errors, let's not fail at the moment
#fail_ci_if_error: true