Skip to content

enhanced log statement #4

enhanced log statement

enhanced log statement #4

name: Sanity test with YugabyteDB build
on:
workflow_dispatch:
inputs:
yb_version:
description: "YugabyteDB version to run tests against (build should be present in internal Quay registry)"
required: false
type: string
push:
branches:
- main
pull_request:
branches:
- main
env:
YB_DOCKER_IMAGE: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.yb_version != '' && github.event.inputs.yb_version || secrets.YB_DOCKER_IMAGE }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Login to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_BOT_USERNAME }}
password: ${{ secrets.QUAY_BOT_TOKEN }}
- name: Log YugabyteDB version
run: echo "YugabyteDB version being used: $YB_DOCKER_IMAGE"

Check failure on line 39 in .github/workflows/basic-test-workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/basic-test-workflow.yml

Invalid workflow file

You have an error in your yaml syntax on line 39
- name: Pull docker image
run: docker pull $YB_DOCKER_IMAGE
- name: YugabyteDBDatatypesTest
run: mvn clean test -Dtest=YugabyteDBDatatypesTest
- name: YugabyteDBTabletSplitTest
run: mvn clean test -Dtest=YugabyteDBTabletSplitTest
- name: YugabyteDBEnumValuesTest
run: mvn clean test -Dtest=YugabyteDBEnumValuesTest
- name: YugabyteDBSnapshotTest
run: mvn clean test -Dtest=YugabyteDBSnapshotTest