-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating dev action to not run tests, and main name to fix display is…
…sue. Testing is not needed in dev as we run this on all PR pushes & syncs. Testing can/should be run locally in dev (takes 90 minutes)
- Loading branch information
Showing
2 changed files
with
4 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,48 +9,6 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Fetch tag history | ||
run: git fetch --tags | ||
- uses: google-github-actions/[email protected] | ||
name: Setup gcloud for Dataflow tests | ||
with: | ||
project_id: ${{ secrets.DEV_PROJECT_ID }} | ||
service_account_key: ${{ secrets.GCP_TEST_KEY }} | ||
export_default_credentials: true | ||
- name: Set up Python 3.9 for dataflow tests | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9.16 | ||
- name: Install Poetry | ||
uses: snok/[email protected] | ||
with: | ||
version: 1.1.9 | ||
- name: Restore cache dependencies | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-poetry-v2 | ||
with: | ||
path: ~/.cache/pypoetry | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./orchestration/pyproject.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: Install dependencies | ||
run: poetry install | ||
working-directory: ${{ github.workspace }}/orchestration | ||
- uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
- name: Check Scala formatting | ||
run: sbt scalafmtCheckAll | ||
- name: Scala Compile | ||
run: sbt Compile/compile Test/compile IntegrationTest/compile | ||
- name: Scala Test | ||
run: sbt "set ThisBuild/coverageEnabled := true" test IntegrationTest/test coverageAggregate | ||
- name: Run pytest E2E test suite | ||
run: poetry run pytest -v -m e2e | ||
working-directory: ${{ github.workspace }}/orchestration | ||
- name: Publish Scala coverage | ||
uses: codecov/codecov-action@v1 | ||
- uses: google-github-actions/[email protected] | ||
name: Setup gcloud for pushing Docker images | ||
with: | ||
|
@@ -59,6 +17,9 @@ jobs: | |
export_default_credentials: true | ||
- name: Setup GCR auth | ||
run: gcloud auth configure-docker --quiet us.gcr.io,us-east4-docker.pkg.dev | ||
- uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
- name: Push Scala Dataflow Docker image | ||
run: sbt publish | ||
- name: Get artifact slug | ||
|
@@ -76,4 +37,3 @@ jobs: | |
context: . | ||
push: true | ||
tags: us-east4-docker.pkg.dev/broad-dsp-monster-hca-dev/monster-dev-env/hca_ingest_compose_dev_env:${{steps.get-artifact-slug.outputs.slug}}, us-east4-docker.pkg.dev/broad-dsp-monster-hca-dev/monster-dev-env/hca_ingest_compose_dev_env:dev | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Main Validation and Release | ||
name: Main Validation and Release Workflow | ||
on: | ||
pull_request_target: | ||
types: | ||
|