Skip to content

Commit

Permalink
Run smoke test and force it to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Feb 6, 2024
1 parent 2e1d601 commit 7619f0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
name: Unit test smoke test

on:

# Runs this workflow automatically
schedule:
- cron: 45 6 * * *

pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
2 changes: 1 addition & 1 deletion tests/benchmarking_asv/test_example_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_meaning() -> None:

def test_run_time_computation() -> None:
output = example_module.run_time_computation()
assert 0 <= output <= 4
assert output > 4


def test_mem_computation() -> None:
Expand Down

0 comments on commit 7619f0b

Please sign in to comment.