Skip to content

Commit

Permalink
Move the ember exam workflow into its own reusable job
Browse files Browse the repository at this point in the history
This will be called N times by the parent test-ui script.
  • Loading branch information
DingoEatingFuzz committed Jun 20, 2023
1 parent 53b71d9 commit 488ec1a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/_ember-exam.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Ember Exam

on:
workflow_call:
inputs:
partition:
required: true
type: number
split:
required: true
type: number

jobs:
exam:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: yarn install
run: cd ui && yarn install --frozen-lockfile
- name: Ember tests
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
run: mkdir -p /tmp/test-reports && cd ui && yarn exam:parallel -- --split=${{ inputs.split }} --partition=${{ inputs.partition }}
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
path: "/tmp/test-reports"

0 comments on commit 488ec1a

Please sign in to comment.