Skip to content

Commit

Permalink
Updating dev action to not run tests, and main name to fix display is…
Browse files Browse the repository at this point in the history
…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
bahill committed Jan 18, 2024
1 parent 76e0324 commit f5d1f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 44 deletions.
46 changes: 3 additions & 43 deletions .github/workflows/build_and_publish_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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

2 changes: 1 addition & 1 deletion .github/workflows/build_and_publish_main.yaml
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:
Expand Down

0 comments on commit f5d1f96

Please sign in to comment.