-
-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (36 loc) · 988 Bytes
/
test.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
name: Test
on:
pull_request:
branches-ignore:
- master
jobs:
build_image:
runs-on: ubuntu-latest
name: Building image
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Docker images
uses: docker/build-push-action@v2
with:
push: false
load: true
context: .
tags: develop
- name: Run linter
uses: ./.github/actions/container_run
with:
cont_action: 'lint'
- name: Run unit tests
uses: ./.github/actions/container_run
with:
cont_action: 'test'
#- name: Build test dataset
# uses: ./.github/actions/container_run
# with:
# cont_action: 'build'
# action_params: '--max_documents 200 --build ./build/test --workflow local'