Skip to content

Correctly throw RemoteResourceNotFoundException #204

Correctly throw RemoteResourceNotFoundException

Correctly throw RemoteResourceNotFoundException #204

# The workflow to check main after push.
name: Main checks after push and during pull requests
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
jobs:
build:
strategy:
matrix:
java-version: [ 11, 17 ]
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
- name: Build with Gradle
run: make build
- name: Run unit tests
run: make test
- name: Run integration tests
run: make integration_test
e2e_test:
strategy:
matrix:
java-version: [ 11 ]
test: [ 'LocalSystem', 'S3' ]
name: E2E tests for ${{ matrix.test }} with jdk ${{ matrix.java-version }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build Docker image
run: make docker_image
- name: Run E2E tests
timeout-minutes: 30
run: E2E_TEST=${{ matrix.test }} make e2e_test
# TODO: publish docker image