Skip to content

Commit 650507d

Browse files
committed
env vars inside and out
1 parent 61cc696 commit 650507d

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/run_snpit_utils_tests.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
tests:
1212
name: run snpit_utils tests in docker container
1313
runs-on: ubuntu-latest
14-
env:
15-
SNPIT_CONFIG: /home/snpit_utils/snpit_utils/tests/test_snpit_utils.yaml
1614

1715
steps:
1816
- name: Dump docker logs on failure
@@ -51,13 +49,6 @@ jobs:
5149
# but the docker-compose file needs the directory
5250
mkdir photometry_test_data
5351
54-
- name: ls
55-
run: |
56-
cd /home/runner/work/snpit_utils
57-
ls -lF
58-
echo "-------"
59-
ls -lF snpit_utils/
60-
6152
- name: pull docker images
6253
run: |
6354
cd /home/runner/work/snpit_utils/environment/test-docker-environment
@@ -73,5 +64,5 @@ jobs:
7364
docker compose exec shell bash -c 'cd /home/snpit_utils && ls -lF'
7465
echo "--------"
7566
docker compose exec shell bash -c 'cd /home/snpit_utils && pip install -e .[test]'
76-
docker compose exec shell bash -c 'cd /home/snpit_utils/snpit_utils/tests && pytest -v'
67+
docker compose exec shell bash -c 'cd /home/snpit_utils/snpit_utils/tests && SNPIT_CONFIG=test_snpit_utils.yaml pytest -v'
7768
docker compose down -v

0 commit comments

Comments
 (0)