Skip to content

Commit

Permalink
Use poetry run
Browse files Browse the repository at this point in the history
  • Loading branch information
bfhealy committed Dec 13, 2023
1 parent 667bb4d commit 2fbc236
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ jobs:
pip install wheel latex poetry
poetry install
cp config.defaults.yaml config.yaml
scope-develop
poetry run scope-develop
- name: Lint sources
run: |
scope-lint
poetry run scope-lint
- name: Build docs
env:
KOWALSKI_INSTANCE_TOKEN: ${{ secrets.KOWALSKI_INSTANCE_TOKEN }}
GLORIA_INSTANCE_TOKEN: ${{ secrets.GLORIA_INSTANCE_TOKEN }}
MELMAN_INSTANCE_TOKEN: ${{ secrets.MELMAN_INSTANCE_TOKEN }}
run: |
scope-doc
poetry run scope-doc
- name: Install SSH Client 🔑
if: github.event_name == 'push' && github.repository_owner == 'ZwickyTransientFacility'
uses: webfactory/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pip install wheel poetry
poetry install
cp config.defaults.yaml config.yaml
scope-develop
poetry run scope-develop
- name: Lint sources
run: |
scope-lint
poetry run scope-lint
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
pip install wheel poetry
poetry install
cp config.defaults.yaml config.yaml
scope-develop
poetry run scope-develop
- name: Run tests
env:
KOWALSKI_INSTANCE_TOKEN: ${{ secrets.KOWALSKI_INSTANCE_TOKEN }}
GLORIA_INSTANCE_TOKEN: ${{ secrets.GLORIA_INSTANCE_TOKEN }}
MELMAN_INSTANCE_TOKEN: ${{ secrets.MELMAN_INSTANCE_TOKEN }}
run: |
scope-test
poetry run scope-test
4 changes: 2 additions & 2 deletions .github/workflows/test_no_kowalski.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pip install wheel poetry
poetry install
cp config.defaults.yaml config.yaml
scope-develop
poetry run scope-develop
- name: Test without kowalski connection
run: |
scope-test-limited
poetry run scope-test-limited

0 comments on commit 2fbc236

Please sign in to comment.