From de236617d580b9942c5735daf91204c5e7775e40 Mon Sep 17 00:00:00 2001 From: Joe Zuntz Date: Mon, 10 May 2021 16:36:25 +0100 Subject: [PATCH] add command line test --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77a6f13..4bad725 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,9 @@ jobs: ceci tests/test.yml ceci --dry-run tests/test.yml pytest --cov=ceci + # add a test with the memory monitor and profiling switched on + python3 -m ceci_example PZEstimationPipe --DM=./tests/inputs/dm.txt --fiducial_cosmology=./tests/inputs/fiducial_cosmology.txt --config=./tests/config.yml --photoz_pdfs=./tests/outputs/photoz_pdfs.txt --memmon=1 --cprofile=profile.stats + - name: Upload coverage to Codecov uses: codecov/codecov-action@v1