Add modified date update on move, fix CI matrix, improve docs (#1) #13
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: "Main CI" | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| config: | |
| name: "Config: Compute values used in workflow" | |
| uses: ./.github/workflows/config.yml | |
| lint: | |
| name: "Backend: Lint" | |
| needs: | |
| - config | |
| uses: plone/meta/.github/workflows/backend-lint.yml@2.x | |
| with: | |
| python-version: ${{ needs.config.outputs.python-version }} | |
| plone-version: ${{ needs.config.outputs.plone-version }} | |
| test: | |
| name: "Backend: Test" | |
| needs: | |
| - config | |
| uses: plone/meta/.github/workflows/backend-pytest.yml@2.x | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13'] | |
| plone-version: ['6.2-latest', '6.1-latest', '6.0-latest'] | |
| exclude: | |
| # Plone 6.0 supports Python 3.8–3.11 only | |
| - python-version: '3.12' | |
| plone-version: '6.0-latest' | |
| - python-version: '3.13' | |
| plone-version: '6.0-latest' | |
| # Plone 6.1 supports Python 3.10–3.12 only | |
| - python-version: '3.13' | |
| plone-version: '6.1-latest' | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| plone-version: ${{ matrix.plone-version }} | |
| coverage: | |
| name: "Backend: Test Coverage" | |
| uses: plone/meta/.github/workflows/backend-pytest-coverage.yml@2.x | |
| needs: | |
| - config | |
| with: | |
| python-version: ${{ needs.config.outputs.python-version }} | |
| plone-version: ${{ needs.config.outputs.plone-version }} | |
| report: | |
| name: "Final report" | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| needs: | |
| - config | |
| - lint | |
| - test | |
| - coverage | |
| steps: | |
| - name: Report | |
| shell: bash | |
| run: | | |
| echo '# Workflow Report' >> $GITHUB_STEP_SUMMARY | |
| echo '| Job ID | Conclusion |' >> $GITHUB_STEP_SUMMARY | |
| echo '| --- | --- |' >> $GITHUB_STEP_SUMMARY | |
| echo '| Config | ${{ needs.config.result }} |' >> $GITHUB_STEP_SUMMARY | |
| echo '| Lint | ${{ needs.lint.result }} |' >> $GITHUB_STEP_SUMMARY | |
| echo '| Test | ${{ needs.test.result }} |' >> $GITHUB_STEP_SUMMARY | |
| echo '| Coverage | ${{ needs.coverage.result }} |' >> $GITHUB_STEP_SUMMARY |