Skip to content

Commit

Permalink
updated development workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kantholtz committed Jun 5, 2024
1 parent 4ada111 commit f174a5f
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- run: echo "Job triggered by ${{ github.event_name }}"
- run: echo "executed on ${{ runner.os }}"
- run: echo "running for ${{ github.repository }} -- ${{ github.ref }}."
- run: |
echo "Job triggered by ${{ github.event_name }}"
echo "executed on ${{ runner.os }}"
echo "running for ${{ github.repository }} -- ${{ github.ref }}."
- name: checkout repository
- uses: actions/checkout@v3

- run: pipx install poetry
- uses: actions/setup-python@v4
with:
Expand All @@ -21,11 +20,7 @@ jobs:
- run: echo "$(poetry env info --path)/bin" >> $GITHUB_PATH

- uses: jakebailey/pyright-action@v2
- run: poetry run coverage run -m pytest
- run: poetry run coverage report

- name: run tests
run: |
poetry run coverage run -m pytest
poetry run coverage report
- name: build package
run: python -m build
- run: python -m build

0 comments on commit f174a5f

Please sign in to comment.