Test Current Release #620
This file contains hidden or 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: Test Current Release | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '45 16 * * 0' # <https://crontab.guru/#45_16_*_*_0> - "At 16:45 UTC on Sunday" | |
| - cron: '30 18 * * 0' # <https://crontab.guru/#30_18_*_*_0> - "At 18:30 UTC on Sunday" | |
| - cron: '30 19 * * 0' # <https://crontab.guru/#30_19_*_*_0> - "At 19:30 UTC on Sunday" | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| python-version: | |
| - "3.8" | |
| - "3.9" | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| repository: approvals/ApprovalTests.Python.StarterProject | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install ApprovalTests | |
| run: | | |
| pip install approvaltests | |
| pip show approvaltests | |
| echo "## ApprovalTests Version" >> $GITHUB_STEP_SUMMARY | |
| pip show approvaltests | grep Version >> $GITHUB_STEP_SUMMARY | |
| shell: bash | |
| - name: Run Tests | |
| run: | | |
| ./run_tests.sh | |
| shell: bash | |
| - name: Publish Test Report | |
| uses: mikepenz/action-junit-report@v6 | |
| if: always() | |
| with: | |
| report_paths: 'test-reports/*.xml' | |
| detailed_summary: true |