[DEV-13758] Missing runs on #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Unit Tests | ||
| env: | ||
| IS_LOCAL: true | ||
| AWS_ACCESS_KEY_ID: minio_user | ||
| AWS_SECRET_ACCESS_KEY: minio_secret | ||
| AWS_REGION: us-gov-west-1 | ||
| DATA_SOURCES_BUCKET: data-sources-test | ||
| PUBLIC_FILES_BUCKET: public-files-test | ||
| BROKER_EXTERNAL_S3_BUCKET: broker-external-test | ||
| BROKER_SUBMISSIONS_S3_BUCKET: broker-submissions-test | ||
| REFERENCE_S3_BUCKET: reference-test | ||
| USAS_S3_BUCKET: usas-test | ||
| METRICS_BUCKET: metrics-test | ||
| JAVA_VERSION: 17 | ||
| SPARK_VERSION: 3.5.6 | ||
| HADOOP_VERSION: 3.4.0 | ||
| SCALA_VERSION: 2.12 | ||
| DELTA_VERSION: 3.3.2 | ||
| MINIO_HOST: localhost | ||
| MINIO_ROOT_USER: minio_user | ||
| MINIO_ROOT_PASSWORD: minio_secret | ||
| on: | ||
| workflow_call: | ||
| jobs: | ||
| Run: | ||
| name: Run | ||
| container: | ||
| image: apache/spark:3.5.6-scala2.12-java17-python3-r-ubuntu | ||
| # Optional: set user to root if permissions are needed | ||
| options: --user root | ||
| steps: | ||
| - name: Checkout Source Repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| path: brus-backend-common | ||
| - name: Init Python Environment | ||
| uses: ./brus-backend-common/.github/actions/init-python-environment | ||
| with: | ||
| working-directory: ./brus-backend-common | ||
| - name: Init Test Environment | ||
| uses: ./brus-backend-common/.github/actions/init-test-environment | ||
| with: | ||
| is-integration-test: false | ||
| is-spark-test: false | ||
| working-directory: ./brus-backend-common | ||
| - name: Run Test Cases | ||
| id: run-test-cases | ||
| uses: ./brus-backend-common/.github/actions/run-pytest | ||
| with: | ||
| cov-report-name: 'unit-tests' | ||
| ignore-glob: '**/tests/integration/*' | ||
| include-glob: 'test_*.py *_test.py' | ||
| marker: '(not signal_handling)' | ||
| working-directory: ./brus-backend-common | ||