Verify Download Method still works #159
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: Verify Download Method still works | |
on: | |
schedule: | |
- cron: '30 13 * * 1,4' | |
workflow_dispatch: | |
env: | |
GITHUB_USERNAME: "fknives" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
run-up-to-date-tests: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Run Up-To-Date Tests | |
run: ./gradlew :app:testDebugUnitTest --tests "org.fnives.uptodate.*" | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: Test Results | |
path: ./**/build/reports/tests/**/index.html | |
retention-days: 1 |