Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion .github/workflows/testAndPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:
needs: matrix
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
timeout-minutes: 30
permissions:
contents: read
actions: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -150,6 +153,8 @@ jobs:
name: Check types with Pyright
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNVDA]
permissions:
contents: read
steps:
- name: Checkout cached build
uses: actions/cache/restore@v5
Expand All @@ -171,6 +176,8 @@ jobs:
name: Check po files for errors
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: matrix
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down Expand Up @@ -202,6 +209,9 @@ jobs:
name: Check translator comments
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNVDA]
permissions:
contents: read
actions: write
steps:
- name: Checkout cached build
uses: actions/cache/restore@v5
Expand Down Expand Up @@ -231,6 +241,8 @@ jobs:
name: Check license compatibility of dependencies
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNVDA]
permissions:
contents: read
steps:
- name: Checkout cached build
uses: actions/cache/restore@v5
Expand All @@ -252,6 +264,10 @@ jobs:
name: Run unit tests
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNVDA]
permissions:
contents: read
actions: write
Comment thread
Copilot marked this conversation as resolved.
checks: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -302,6 +318,8 @@ jobs:
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNVDA, checkPot]
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/beta' && vars.CROWDIN_PROJECT_ID }}
permissions:
contents: read
steps:
- name: Checkout cached build
uses: actions/cache/restore@v5
Expand Down Expand Up @@ -332,6 +350,9 @@ jobs:
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNVDA]
timeout-minutes: 35
permissions:
contents: read
actions: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -425,6 +446,10 @@ jobs:
runs-on: ${{ matrix.runner }}
needs: [matrix, createLauncher]
timeout-minutes: 10
permissions:
contents: read
actions: write
Comment thread
Copilot marked this conversation as resolved.
checks: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -508,6 +533,9 @@ jobs:
name: Create symbols
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNVDA]
permissions:
contents: read
actions: write
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -551,6 +579,8 @@ jobs:
runs-on: ubuntu-latest
if: always()
needs: [buildNVDA, typeCheck, checkPo, checkPot, licenseCheck, unitTests, createLauncher, systemTests, createSymbols]
permissions:
contents: read
steps:
- name: Check if all tests pass
uses: re-actors/alls-green@v1.2.2
Expand All @@ -560,8 +590,10 @@ jobs:
uploadSymbols:
name: Upload symbols
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
needs: [matrix, buildNvda]
needs: [matrix, buildNVDA]
if: ${{ github.event_name == 'push' && vars.feature_uploadSymbolsToMozilla }}
permissions:
contents: read
steps:
- name: Checkout cached build
uses: actions/cache/restore@v5
Expand Down
Loading