Skip to content

Commit

Permalink
Update Pipeline.yml to run sbt test (#2)
Browse files Browse the repository at this point in the history
Update `pipeline.yml` to run `sbt test`.
  • Loading branch information
adilakhter authored Oct 21, 2024
1 parent ae9417e commit 3585695
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,27 @@ env:
jobs:
test:
name: Build and test
runs-on: big
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: ${{ env.JAVA_VERSION }}
cache: sbt
check-latest: true

- name: Setup Sbt
uses: sbt/setup-sbt@v1

# Needed for the integration tests
# - name: Authenticate to Google Cloud
# uses: google-github-actions/auth@v1
# with:
# credentials_json: ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
#
# - name: Set up Cloud SDK
# uses: google-github-actions/setup-gcloud@v1
# with:
# project_id: pre-production-project-id

- name: Build and test
id: run_tests
env:
RUN_INTEGRATION_TESTS: false
run: |
set -o pipefail
sbt clean test
# sbt package bq-writer/docker:publish gcs-writer/docker:publish

0 comments on commit 3585695

Please sign in to comment.