Skip to content

Commit cde1d8b

Browse files
committed
Try a function
1 parent 0335c74 commit cde1d8b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ jobs:
216216

217217
- name: Run test task
218218
run: |
219-
alias run_tests='npx jest --color ${{ format('--coverage={0} --maxWorkers=2 --selectProjects "{1}"', matrix.task.coverage || false, join(matrix.task.projects, '", "')) }}'
219+
run_tests () {
220+
npx jest --color ${{ format('--coverage={0} --maxWorkers=2 --selectProjects "{1}"', matrix.task.coverage || false, join(matrix.task.projects, '", "')) }}'
221+
}
220222
221223
# Ubuntu requires a profile for developer builds of Chrome to run without errors.
222224
# (https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md)

0 commit comments

Comments
 (0)