Skip to content

iRODS integration tests #5

iRODS integration tests

iRODS integration tests #5

name: Run integration tests against iRODS
on:
push:
branches:
- develop
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
if: |
${{ ! contains(github.event.head_commit.message, '#nointegrationtests') &&
( github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
)
}}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt install -y docker-compose
- uses: docker/setup-buildx-action@v3
- name: Build irods_catalog_provider (utilize cache)
uses: docker/build-push-action@v5
with:
context: ./docker/irods_catalog_provider
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build irods_catalog (utilize cache)
uses: docker/build-push-action@v5
with:
context: ./docker/irods_catalog
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build irods_client (utilize cache)
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/irods_client/Dockerfile
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run tests using docker-compose
run: docker-compose up --exit-code-from irods-client