diff --git a/.github/workflows/benchmarks.yaml b/.github/workflows/benchmarks.yaml index 3ad56865..96e7e4c8 100644 --- a/.github/workflows/benchmarks.yaml +++ b/.github/workflows/benchmarks.yaml @@ -24,7 +24,7 @@ jobs: codspeed-mode: ["simulation", "walltime"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 submodules: recursive @@ -38,8 +38,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install pytest pytest-codspeed - python -m pip install . + python -m pip install .[dev] - name: Run benchmarks uses: CodSpeedHQ/action@v4 diff --git a/.github/workflows/python_package.yaml b/.github/workflows/python_package.yaml index b476886e..771dcf0a 100644 --- a/.github/workflows/python_package.yaml +++ b/.github/workflows/python_package.yaml @@ -26,7 +26,7 @@ jobs: NUM_SPLITS: 6 steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 submodules: recursive @@ -43,7 +43,7 @@ jobs: python -m pip install .[dev] - name: Restore test durations - uses: actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 + uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: .test_durations key: test-durations-${{ github.ref }}-${{ github.sha }} @@ -108,7 +108,7 @@ jobs: jq 'reduce inputs as $i (.; . + $i)' test-durations-*/.test_durations.* > .test_durations - name: Save test durations - uses: actions/cache/save@v5 + uses: actions/cache/save@v6 with: path: .test_durations key: test-durations-${{ github.ref }}-${{ github.sha }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 483c77cd..96bf4ace 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: actions/setup-python@v6 with: diff --git a/pyproject.toml b/pyproject.toml index e5f30f73..63b32916 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ readme = "README.md" dependencies = ["numpy >=1.18.0", "galsim >=2.7.0", "jax >=0.6.0", "astropy >=2.0", "quadax", "equinox"] [project.optional-dependencies] -dev = ["pytest", "pytest-codspeed", "pytest-randomly", "pytest-split", "pytest-retry", "pytest-xdist"] +dev = ["pytest==8.*", "pytest-codspeed", "pytest-randomly", "pytest-split", "pytest-retry", "pytest-xdist"] docs = ["sphinx>=7.0", "furo>=2024.1.29", "sphinx-design>=0.5", "sphinx-copybutton"] [project.urls]