-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (38 loc) · 1.27 KB
/
integration-tests-irods.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 utilizing cache
uses: docker/bake-action@v4
with:
load: true
push: false
set: |
irods-catalog.cache-from=type=gha
irods-catalog.cache-to=type=gha
irods-catalog.tags=irods-catalog
irods-catalog-provider.cache-from=type=gha
irods-catalog-provider.cache-to=type=gha
irods-catalog-provider.tags=irods-catalog-provider
irods-client.cache-from=type=gha
irods-client.cache-to=type=gha
irods-client.tags=irods-client
- name: Run tests using docker-compose
run: docker-compose up --no-build --exit-code-from irods-client