Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
PSU3D0 committed Mar 19, 2024
1 parent 79220af commit 6c77f01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
poetry run ruff --output-format=github .
- name: Test with pytest
run: |
poetry run pytest -sxv
poetry run pytest -sxv --cov
9 changes: 4 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

name: stage & preview workflow

permissions:
contents: read
id-token: write

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
Expand All @@ -24,6 +20,9 @@ jobs:
matrix:
python-versions: [ 3.8 ]

permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -37,7 +36,7 @@ jobs:
pip install poetry
poetry install --no-root --all-extras
- name: test
- name: Run Pytest
run:
poetry run pytest -sxv

Expand Down

0 comments on commit 6c77f01

Please sign in to comment.