Skip to content

Commit

Permalink
feat: run codege tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Cipolleschi committed Sep 5, 2022
1 parent 092fe5b commit a3ae38a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,27 @@ jobs:
- store_test_results:
path: ./reports/junit

# -----------------------
# JOBS: Codegen Tests
# -----------------------
test_codegen:
parameters:
executor:
type: executor
default: nodelts
executor: << parameters.executor >>
steps:
- checkout
- setup_artifacts
- run:
name: Install Yarn in codegen
command: yarn install
working_directory: packages/react-native-codegen
- run:
name: Run Tests
command: yarn jest
working_directory: packages/react-native-codegen

# -------------------------
# JOBS: iOS Unit Tests
# -------------------------
Expand Down Expand Up @@ -1311,6 +1332,7 @@ workflows:
unless: << pipeline.parameters.run_package_release_workflow_only >>
jobs:
- prepare_hermes_workspace
- test_codegen
- build_hermesc_linux:
requires:
- prepare_hermes_workspace
Expand Down

0 comments on commit a3ae38a

Please sign in to comment.