Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebachmeier committed Dec 13, 2024
1 parent 9cbbec1 commit 96c0886
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# -----------------------------------------------------------------------------
# - invoked on push, pull_request, or manual trigger
# - test under at least 3 versions of python
# - tests under multiple versions of python
# - only quick tests are run here
#
# NOTE: We do not run tests marked as slow nor do we schedule runs here.
# Slow tests and scheduled runs are handled via Jenkins because that has
# access to the cluster which is required for some tests.
# -----------------------------------------------------------------------------
name: build
on: [push, pull_request, workflow_dispatch]
Expand Down Expand Up @@ -31,7 +36,7 @@ jobs:
isort . --check --verbose --only-modified --diff
- name: Install dependencies
run: |
pip install .[dev]
pip install .[test]
- name: Test
run: |
pytest ./tests
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel build
- name: Test
# NOTE: We only run tests not marked as `slow` here since github actions
# does not have access to the cluster (which is required for some tests).
# This means that we may inadvertenlly deploy code that has failing tests!
run: |
pip install .[test]
pytest ./tests
Expand Down

0 comments on commit 96c0886

Please sign in to comment.