Compare commits
1 Commits
79aacde734
...
07ec832837
| Author | SHA1 | Date | |
|---|---|---|---|
| 07ec832837 |
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
@@ -31,11 +31,7 @@ jobs:
|
||||
- name: Run server tests
|
||||
run: |
|
||||
cd ./test-server
|
||||
if [ -f package.json ] && grep -q '"test"' package.json; then
|
||||
npm test
|
||||
else
|
||||
echo "⚠ No test script configured, skipping"
|
||||
fi
|
||||
npm test
|
||||
|
||||
test-php:
|
||||
name: Test PHP
|
||||
@@ -62,7 +58,7 @@ jobs:
|
||||
- name: Run server tests
|
||||
run: |
|
||||
cd ./test-server
|
||||
composer test:unit
|
||||
./vendor/bin/phpunit
|
||||
|
||||
test-nginx:
|
||||
name: Test nginx
|
||||
@@ -118,11 +114,7 @@ jobs:
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
cd ./test-server
|
||||
if [ -f package.json ] && grep -q '"test:integration"' package.json; then
|
||||
npm run test:integration
|
||||
else
|
||||
echo "⚠ No integration test script configured, skipping"
|
||||
fi
|
||||
npm run test:integration
|
||||
|
||||
test-custom-paths:
|
||||
name: Test Custom Server Path
|
||||
@@ -145,11 +137,7 @@ jobs:
|
||||
- name: Run server tests
|
||||
run: |
|
||||
cd ./my-custom-server
|
||||
if [ -f package.json ] && grep -q '"test"' package.json; then
|
||||
npm test
|
||||
else
|
||||
echo "⚠ No test script configured, skipping"
|
||||
fi
|
||||
npm test
|
||||
|
||||
test-without-dependencies:
|
||||
name: Test Without Dependencies
|
||||
|
||||
Reference in New Issue
Block a user