Skip to content
Open
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
29 changes: 0 additions & 29 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,32 +302,3 @@ jobs:
- name: Mark the job as passed if all the checks pass
if: ${{ needs.test-php.result == 'success' && needs.phpcs.result == 'success' }}
run: exit 0

mobile-unit-js:
name: Mobile
runs-on: 'ubuntu-24.04'
permissions:
contents: read
# React 19 breaks these tests, and upgrading React Native to a compatible version is paused.
# See: https://github.com/WordPress/gutenberg/issues/71336
if: false
#if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}

steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
persist-credentials: false

- name: Setup Node.js and install dependencies
uses: ./.github/setup-node

- name: Run build scripts
# It's not necessary to run the full build, since Jest can interpret
# source files with `babel-jest`. Some packages have their own custom
# build tasks, however. These must be run.
run: npx lerna run build

- name: Running the tests
run: npm run test:native -- --ci --maxWorkers="$(nproc)" --cacheDirectory="$HOME/.jest-cache"
Loading