Skip to content

Commit

Permalink
Merge pull request #13 from glotzerlab/dependabot-github_actions-main…
Browse files Browse the repository at this point in the history
…-actions-version-ef936f9672

build(deps): bump the actions-version group with 4 updates
  • Loading branch information
joaander authored Mar 7, 2024
2 parents 2ebfdfb + da6d9c3 commit 7f4905e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/action@v2.0.0
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
4 changes: 2 additions & 2 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
id-token: write
steps:
- name: Check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
python: '3.12'
dependencies: 'newest'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Update pip/build packages
Expand All @@ -66,6 +66,6 @@ jobs:
- name: Test with pytest
run: |
pytest --cov=dupin --cov-config=pyproject.toml --cov-report=xml tests -v
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion tests/data/test_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import numpy as np
import pytest
from hypothesis import given, settings
from hypothesis import HealthCheck, given, settings
from hypothesis import strategies as st
from hypothesis.extra.numpy import arrays, floating_dtypes

Expand Down Expand Up @@ -88,6 +88,7 @@ def test_setting_logger(self, base_generator, constructor_args):
assert pipeline._logger is None
assert pipeline._generator._logger is None

@settings(suppress_health_check=[HealthCheck.too_slow])
@given(validator.strategy(), generator_data())
def test_output(self, kwargs, input_):
@du.data.make_generator
Expand Down

0 comments on commit 7f4905e

Please sign in to comment.