Skip to content

Commit

Permalink
Add simple tests for view and cfl2png
Browse files Browse the repository at this point in the history
  • Loading branch information
hcmh committed Jul 2, 2024
1 parent 8811691 commit 1720468
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ variables:
OMP_NUM_THREADS: "1"


image: debian:bookworm

before_script:
- apt-get update -qq && apt-get install -y -qq
- apt-get install -y -qq make git gcc
Expand All @@ -10,9 +12,9 @@ before_script:

stages:
- build
- test

Build:
image: debian:bookworm
stage: build
script:
- make all
Expand All @@ -21,3 +23,17 @@ Build:
- view
- cfl2png

Test_cfl2png:
stage: test
script:
- apt-get update -qq && apt-get install -y -qq
- apt-get install -y -qq bart
- bart phantom pha.ra
- ./view -h
- ./cfl2png -x1 -u0.5 -CV pha.ra pha.png
artifacts:
paths:
- pha.png
needs: [Build]
dependencies:
- Build

0 comments on commit 1720468

Please sign in to comment.