Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1644 Because Chrome behaviors can change Reviewed By: cortinico Differential Revision: D56088135 fbshipit-source-id: 7f760786dde061df9af034368e2184117e6e6846
33 lines
650 B
YAML
33 lines
650 B
YAML
name: Validate Tests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
validate:
|
|
name: Validate
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup JS
|
|
uses: ./.github/actions/setup-js
|
|
|
|
- name: yarn gentest-validate
|
|
run: yarn gentest-validate
|
|
|
|
- name: yarn gentest
|
|
run: yarn gentest -h
|
|
|
|
- name: Check for modified tests
|
|
run: |
|
|
if [[ -n $(git status -s) ]]; then
|
|
git status -s
|
|
echo "yarn gentest modified these tests. Please run yarn gentest to resolve."
|
|
exit 1
|
|
fi
|