forked from drupal/drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (28 loc) · 982 Bytes
/
Tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Tests
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
Functional-JavaScript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ddev/github-action-setup-ddev@v1
- name: Install dependencies
run: ddev composer install
- name: Configure tests
run: cp .github/workflows/phpunit.xml core/phpunit.xml
- name: Run tests
run: ddev exec php ./core/scripts/run-tests.sh --color --keep-results --types "PHPUnit-FunctionalJavascript" --concurrency "4" --repeat "1" --sqlite "./sites/default/files/.sqlite" --verbose --non-html --all
- name: Upload test artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: browser_output
path: sites/simpletest/browser_output