Skip to content

Commit 03da9d5

Browse files
committed
Update test coverage
1 parent 01ab1c2 commit 03da9d5

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/tests.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ defaults:
1111
shell: bash
1212

1313
jobs:
14+
create-project:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Create project
19+
run: |
20+
composer create-project --ignore-platform-reqs mstrelan/drupal-contrib:dev-${{ github.ref_name }}
21+
cd drupal-contrib
22+
make 11.x
23+
1424
tests:
1525
runs-on: ubuntu-latest
1626

@@ -20,13 +30,11 @@ jobs:
2030
drupal_version: ['10.3', '10.4', '10.5', '11.0', '11.1', '11.x']
2131

2232
steps:
23-
- name: Create project
24-
run: |
25-
composer create-project --ignore-platform-reqs mstrelan/drupal-contrib:dev-${{ github.ref_name }}
33+
- name: Checkout
34+
uses: actions/checkout@v3
2635

2736
- name: Initialise environment
2837
run: |
29-
cd drupal-contrib
3038
make ${{ matrix.drupal_version }}
3139
3240
- name: Setup homebrew
@@ -41,5 +49,4 @@ jobs:
4149
env:
4250
DRUPAL_VERSION: ${{ matrix.drupal_version == '11.x' && '11.2-dev' || matrix.drupal_version }}
4351
run: |
44-
cd drupal-contrib
4552
bats tests

0 commit comments

Comments
 (0)