Skip to content

#819: Fixed CI and adapted project to Exasol 8 #831

#819: Fixed CI and adapted project to Exasol 8

#819: Fixed CI and adapted project to Exasol 8 #831

name: Check Bazel Tests
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Search for duplicated error codes
run: bash find_duplicate_error_codes.sh
- name: Install bazel
run: |
export ENV BAZEL_PACKAGE_VERSION="5.2.0"
export ENV BAZEL_PACKAGE_FILE="bazel_$BAZEL_PACKAGE_VERSION-linux-x86_64.deb"
export BAZEL_PACKAGE_URL="https://github.com/bazelbuild/bazel/releases/download/$BAZEL_PACKAGE_VERSION/$BAZEL_PACKAGE_FILE"
sudo apt-get -y update && \
curl -L --output "$BAZEL_PACKAGE_FILE" "$BAZEL_PACKAGE_URL" && \
sudo apt-get install -y "./$BAZEL_PACKAGE_FILE" && \
rm "$BAZEL_PACKAGE_FILE" && \
sudo apt-get -y clean && \
sudo apt-get -y autoremove
- name: Install JDK and ZMQ
run: |
sudo apt-get install -y openjdk-11-jdk libzmq3-dev
sudo apt-get -y clean && \
sudo apt-get -y autoremove
- name: Test
run: |
bazel test //javacontainer/test/...
working-directory: ./exaudfclient/base