chore: update backup workflows with codecov v4 compatibility #9
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: Minimal Test | |
| # Concurrency control | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| actions: read | |
| jobs: | |
| minimal-test: | |
| name: Minimal Test | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| persist-credentials: false | |
| - name: Test basic functionality | |
| run: | | |
| echo "Testing basic shell commands..." | |
| ls -la | |
| echo "Current directory: $(pwd)" | |
| echo "Git status:" | |
| git status --short || true | |
| - name: Test simple matrix generation | |
| run: | | |
| echo "Testing matrix generation..." | |
| matrix='[{"name": "test", "path": ".", "type": "basic"}]' | |
| echo "Generated matrix: $matrix" | |
| echo "$matrix" | jq . | |
| - name: Success | |
| run: | | |
| echo "✅ Minimal test passed!" | |
| echo "## ✅ Minimal Test Results" >> $GITHUB_STEP_SUMMARY | |
| echo "All basic functionality tests completed successfully." >> $GITHUB_STEP_SUMMARY | |
| echo "- Shell commands: ✅ Working" >> $GITHUB_STEP_SUMMARY | |
| echo "- Git operations: ✅ Working" >> $GITHUB_STEP_SUMMARY | |
| echo "- JSON parsing: ✅ Working" >> $GITHUB_STEP_SUMMARY |