-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #638: Fix all our tests #639
Changes from 27 commits
1545b6d
e9b2275
b7c44b2
ec6e32d
9659e7a
4dbf184
d301672
d482c08
c6f9f56
0d11149
5d925f5
c43d488
1124fee
cf633ce
bb9a4f9
d4e7e26
3d4a539
fb4e35f
c969ed2
914940c
accdda3
0903199
af7c29c
2feb762
2fd2fc1
964c0cb
066857c
a6b0a75
f0c921a
732052b
56c1350
cc72b52
699f275
b967155
f7d9419
35c2a9e
89ed57b
d9e3d86
24ee1c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ jobs: | |
uses: GuillaumeFalourd/assert-command-line-output@v2.3 | ||
with: | ||
command_line: xmllint --xpath 'string(//testsuites/testsuite/@tests)' test_result/phpunit-functional.xml | ||
contains: 18 | ||
contains: 6 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These were previously also running the unit tests apparently |
||
expected_result: PASSED | ||
|
||
Test-PHPUnit-Functional-DTT: | ||
|
@@ -147,7 +147,7 @@ jobs: | |
uses: GuillaumeFalourd/assert-command-line-output@v2 | ||
with: | ||
command_line: xmllint --xpath 'string(//testsuites/testsuite/@tests)' test_result/phpunit-functional.xml | ||
contains: 21 | ||
contains: 9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These were previously also running the unit tests apparently |
||
expected_result: PASSED | ||
|
||
Test-PHPUnit-Static: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,11 @@ jobs: | |
strategy: | ||
matrix: | ||
php-version: [8.1, 8.2, 8.3] | ||
|
||
include: | ||
- php-version: 8.1 | ||
drupal-version: ":^10" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice. |
||
- php-version: 8.2 | ||
drupal-version: ":^10" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -37,7 +41,7 @@ jobs: | |
- name: Install Drupal | ||
run: | | ||
cd ../ | ||
composer create-project drupal/recommended-project drupal --ignore-platform-req=ext-gd | ||
composer create-project drupal/recommended-project${{ matrix.drupal-version }} drupal --ignore-platform-reqs | ||
cd drupal | ||
cp ${GITHUB_WORKSPACE}/tests/fixtures.drainpipe-test-build/Taskfile.yml . | ||
composer config extra.drupal-scaffold.gitignore true | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this package for? Is it just an easy way to do a test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's testing whether the package import works correctly when bundling