Skip to content

Commit

Permalink
test main-only testing with known failure
Browse files Browse the repository at this point in the history
  • Loading branch information
stringertheory committed Feb 5, 2024
1 parent cce81b6 commit 04bcb85
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: just add pytest for running tests
run: poetry run python -m pip install -U pytest

- name: Check if documentation can be built
- name: run the tests that don't require development dependencies
run: make test-only-main

tox:
Expand Down
9 changes: 9 additions & 0 deletions tests/test_eventseries.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import pandas as pd

from traces import EventSeries


Expand All @@ -10,6 +12,13 @@ def test_init_data():
assert es[3] == 8.7
assert es[4] == 10

data = [
"2018-10-15T16:45:01",
"2019-04-16T13:08:26",
]
es = EventSeries(pd.to_datetime(data))
assert es[0] == es[0]


def test_count_active():
es_open = EventSeries(
Expand Down

0 comments on commit 04bcb85

Please sign in to comment.