Files
Mealient/.github/workflows/check.yml
Kirill Kamakin 564d088085 Disable cache on CI
Right now it takes more time to download
cache than it is to actually build from scratch
2022-06-12 19:59:10 +02:00

23 lines
634 B
YAML

name: Check
on: [ pull_request ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew check coverageReport sonarqube --no-daemon --no-configuration-cache --no-build-cache
- name: Publish test reports
uses: mikepenz/action-junit-report@v2
if: always() # always run even if the previous step fails
with:
report_paths: './**/build/test-results/**/TEST-*.xml'