Skip to content

Commit

Permalink
WIP debugging CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed May 10, 2021
1 parent 29ec9a1 commit f33f07b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
matrix:
java:
# we want: all LTS versions (that we care about), latest GA, upcoming
- 8
# - 8
- 11
- 16
- 17-ea
# - 17-ea
os:
- ubuntu-latest
# - ubuntu-latest
- windows-latest
- macos-latest
# - macos-latest
runs-on: ${{ matrix.os }}
name: Build with JDK ${{ matrix.java }} (${{ matrix.os }})
steps:
Expand All @@ -56,42 +56,42 @@ jobs:
- name: Build with Maven
shell: bash
run: mvn -B formatter:validate verify --file pom.xml
run: mvn -B formatter:validate verify --file pom.xml -Dtest=CircuitBreakerRollingWindowTest -DfailIfNoTests=false

- name: Upload TCK report
if: ${{ matrix.java == '11' && matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v2
with:
name: tck-report
path: testsuite/tck/target/surefire-reports

quality:
needs:
- build
if: github.event_name == 'push' && github.repository == 'smallrye/smallrye-fault-tolerance'
runs-on: ubuntu-latest
name: Quality

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 11

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Sonar
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
run: mvn -B verify --file pom.xml -Pcoverage javadoc:javadoc sonar:sonar -Dsonar.projectKey=smallrye_smallrye-fault-tolerance -Dsonar.login=$SONAR_TOKEN
# - name: Upload TCK report
# if: ${{ matrix.java == '11' && matrix.os == 'ubuntu-latest' }}
# uses: actions/upload-artifact@v2
# with:
# name: tck-report
# path: testsuite/tck/target/surefire-reports
#
# quality:
# needs:
# - build
# if: github.event_name == 'push' && github.repository == 'smallrye/smallrye-fault-tolerance'
# runs-on: ubuntu-latest
# name: Quality
#
# steps:
# - name: Checkout
# uses: actions/checkout@v2
#
# - name: Set up JDK 11
# uses: actions/setup-java@v2
# with:
# distribution: adopt
# java-version: 11
#
# - name: Cache local Maven repository
# uses: actions/cache@v2
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-
#
# - name: Sonar
# env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
# SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
# run: mvn -B verify --file pom.xml -Pcoverage javadoc:javadoc sonar:sonar -Dsonar.projectKey=smallrye_smallrye-fault-tolerance -Dsonar.login=$SONAR_TOKEN
2 changes: 1 addition & 1 deletion testsuite/basic/src/test/resources/logging.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ java.util.logging.ConsoleHandler.level = FINEST
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL %4$-5s [%3$s] %5$s%6$s%n
org.jboss.weld.level = WARNING
io.smallrye.faulttolerance.level = INFO
io.smallrye.faulttolerance.level = FINEST

0 comments on commit f33f07b

Please sign in to comment.