Skip to content

Commit

Permalink
ci: speed up (#4)
Browse files Browse the repository at this point in the history
* build(deps): bump actions/attest-build-provenance

Bumps the actions group with 1 update in the / directory: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance).


Updates `actions/attest-build-provenance` from 1.1.2 to 1.3.3
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](actions/attest-build-provenance@173725a...5e9cb68)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* Update ci.yml

* ci: use pypy version that doesn't require compiling numpy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
  • Loading branch information
dependabot[bot] and henryiii authored Jul 18, 2024
1 parent 39eb3af commit 0dd3d28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
path: dist

- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@173725a1209d09b31f9d30a3890cf2757ebbff0d # v1.1.2
uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
with:
subject-path: "dist/f2py*"

Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: yezz123/setup-uv@v4
- uses: pre-commit/action@v3.0.1
with:
extra_args: --hook-stage manual --all-files
Expand All @@ -36,15 +37,14 @@ jobs:
checks:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
needs: [pre-commit]
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.12"]
runs-on: [ubuntu-latest, macos-14]

include:
- python-version: "pypy-3.10"
- python-version: "pypy-3.9"
runs-on: ubuntu-latest

steps:
Expand All @@ -57,12 +57,17 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- uses: yezz123/setup-uv@v4

- name: Install gfortran
if: runner.os == 'macOS'
run: brew install gcc
run: |
echo "gfortran: $(which gfortran)"
brew reinstall gfortran
echo "gfortran: $(which gfortran)"
- name: Install package
run: python -m pip install .[test]
run: uv pip install --system -e .[test]

- name: Test package
run: >-
Expand Down

0 comments on commit 0dd3d28

Please sign in to comment.