-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlab-ci.yml
34 lines (30 loc) · 934 Bytes
/
.gitlab-ci.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
image: python:3.9-buster
services:
- docker:stable-dind
variables:
DOCKER_HOST: tcp://docker:2375/
TMPDIR: /builds/$CI_PROJECT_PATH/tmp
before_script:
- pip install cwl-runner cwltest
- |
apt-get update
apt-get install -y --no-install-recommends \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
- curl -fsSL https://download.docker.com/linux/debian/gpg | (OUT=$(apt-key add - 2>&1) || echo $OUT)
- |
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
- apt-get update && apt-get install -y --no-install-recommends docker-ce-cli nodejs
test:
script:
- mkdir -p $TMPDIR
- cwltest --test test.yml --junit-xml=results.xml
artifacts:
reports:
junit: results.xml