Skip to content

Commit

Permalink
test: separate test project unit tests from server tests and add to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SandPod committed Oct 11, 2023
1 parent 6af842c commit 1342550
Show file tree
Hide file tree
Showing 50 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dart-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
matrix:
flutter-version: ['3.7.0', '3.10.0']
os: [windows-latest, ubuntu-latest]
path: ['tools/serverpod_cli', 'packages/serverpod']
path: ['tools/serverpod_cli', 'packages/serverpod, 'packages/serverpod_serialization', 'tests/serverpod_test_client', 'tests/serverpod_test_server']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion tests/docker/tests_single_server/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ echo ""
echo "### Running integration tests"
cd tests/serverpod_test_server
dart pub get
dart test --concurrency=1
dart test test_e2e --concurrency=1
1 change: 1 addition & 0 deletions util/run_tests_unit
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ declare -a projectPaths=(
"packages/serverpod"
"packages/serverpod_serialization"
"tests/serverpod_test_client"
"tests/serverpod_test_server"
)

exit_code=0
Expand Down

0 comments on commit 1342550

Please sign in to comment.