Skip to content

Commit

Permalink
Merge pull request #12 from glotzerlab/release/v0.1.0
Browse files Browse the repository at this point in the history
Release v0.1.0
  • Loading branch information
b-butler authored Jan 18, 2024
2 parents 966fa90 + 6c2dc06 commit 5b132c8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ jobs:
uses: ./.github/workflows/publish-packages.yml
with:
upload_to_test: false
branch: "main"
8 changes: 8 additions & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
=========
Changelog
=========

Version 0.1.0
=============

[0.1.0] -- 2024-01-06
---------------------

First official release.
6 changes: 3 additions & 3 deletions tests/data/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


def not_null(s):
return not s.startswith("\x00")
return "\x00" not in s


def context_dict(values=None):
Expand Down Expand Up @@ -77,7 +77,7 @@ def orderly_log_content(
for c in draw(keys)
}
)
return draw(st.lists(contexts, max_size=15))
return draw(st.lists(contexts, max_size=10))


def populate_log(logger, log_contents):
Expand Down Expand Up @@ -119,7 +119,7 @@ def check_logger_values(df, log_contents):


@given(orderly_log_content())
@settings(deadline=500) # Allow up to 0.5 seconds per test.
@settings(deadline=2_000) # Allow up to 2 seconds per test.
def test_to_dataframe(log_contents):
logger = du.data.logging.Logger()
num_empty = populate_log(logger, log_contents)
Expand Down

0 comments on commit 5b132c8

Please sign in to comment.