|
|
@@ -1,9 +1,14 @@
|
|
|
name: Run Integration Tests
|
|
|
|
|
|
-on: [push, pull_request]
|
|
|
+on:
|
|
|
+ push:
|
|
|
+ branches:
|
|
|
+ - main
|
|
|
+ pull_request:
|
|
|
|
|
|
jobs:
|
|
|
- on-linux:
|
|
|
+ integration-tests:
|
|
|
+ name: Integration Tests
|
|
|
runs-on: ubuntu-latest
|
|
|
strategy:
|
|
|
matrix:
|
|
|
@@ -74,3 +79,10 @@ jobs:
|
|
|
rm -rf workspace
|
|
|
mkdir workspace
|
|
|
WORKSPACE_BASE="$GITHUB_WORKSPACE/workspace" WORKSPACE_MOUNT_PATH="$GITHUB_WORKSPACE/workspace" poetry run pytest -s ./tests/integration
|
|
|
+
|
|
|
+ test_matrix_success:
|
|
|
+ name: All Integration Tests Passed
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ needs: [integration-tests]
|
|
|
+ steps:
|
|
|
+ - run: echo Done!
|