Skip to content

Commit 106d701

Browse files
committed
Add GALAXY env for automated testing
1 parent 0287b2b commit 106d701

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: ci
22

33
on: [push]
44

5+
env:
6+
GALAXY_URL: "${{ secrets.GALAXY_URL }}"
7+
GALAXY_API_KEY: "${{ secrets.GALAXY_API_KEY }}"
8+
59
jobs:
610
test:
711
runs-on: ubuntu-latest
@@ -25,4 +29,4 @@ jobs:
2529
- name: Run mypy
2630
run: docker run --rm ${{ steps.build.outputs.imageid }} poetry run mypy .
2731
- name: Run tests
28-
run: docker run --rm ${{ steps.build.outputs.imageid }} poetry run pytest test_examples.py
32+
run: docker run --rm -e GALAXY_URL=${{ env.GALAXY_URL }} -e GALAXY_API_KEY=${{ env.GALAXY_API_KEY }} ${{ steps.build.outputs.imageid }} poetry run pytest test_examples.py

0 commit comments

Comments
 (0)