Skip to content

Commit

Permalink
Added github workflow to run integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ifeoluwaale committed Dec 25, 2023
1 parent 829f565 commit 30637e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Build the package and publish it to PyPI after tests pass.
name: Publish to PyPI
on:
push:
workflow_run:
workflows: ["run_tests"]
types:
- completed
branches:
- main
tags:
- "*"

jobs:
publish:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
- name: Run unit tests
run: |
pytest tests/unit --cov=dplpy
#- name: Run integ tests
# run: |
# pytest tests/integs -rA
- name: Run integ tests
run: |
pytest tests/integs -rA

0 comments on commit 30637e3

Please sign in to comment.