Skip to content

Commit 17d5d37

Browse files
committed
Merge branch 'main' into map/recursive_risbo_otf
2 parents fd1e8b1 + 351fc94 commit 17d5d37

39 files changed

+896
-964
lines changed

.all-contributorsrc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@
9191
"avatar_url": "https://avatars.githubusercontent.com/u/142883157?v=4",
9292
"profile": "https://github.com/PhilippMisofCH",
9393
"contributions": [
94-
"bug"
94+
"bug",
95+
"doc"
9596
]
9697
},
9798
{
@@ -114,6 +115,15 @@
114115
"review",
115116
"test"
116117
]
118+
},
119+
{
120+
"login": "mdavezac",
121+
"name": "Mayeul d'Avezac",
122+
"avatar_url": "https://avatars.githubusercontent.com/u/2745737?v=4",
123+
"profile": "https://github.com/mdavezac",
124+
"contributions": [
125+
"infra"
126+
]
117127
}
118128
],
119129
"contributorsPerLine": 7,

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/build.yml

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,14 @@ jobs:
5050
os: [ubuntu-latest, macos-latest]
5151

5252
steps:
53-
- uses: actions/checkout@v4
54-
53+
- uses: actions/[email protected]
54+
with:
55+
fetch-depth: 0
56+
fetch-tags: true
5557
- name: Build wheels
56-
uses: pypa/[email protected]
57-
58+
uses: pypa/[email protected]
59+
env:
60+
CIBW_SKIP: pp*-macosx_arm64
5861
- uses: actions/upload-artifact@v4
5962
with:
6063
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
@@ -64,23 +67,26 @@ jobs:
6467
name: Build source distribution
6568
runs-on: ubuntu-latest
6669
steps:
67-
- uses: actions/checkout@v4
68-
70+
- uses: actions/[email protected]
71+
with:
72+
fetch-depth: 0
73+
fetch-tags: true
6974
- name: Build sdist
7075
run: pipx run build --sdist
71-
7276
- uses: actions/upload-artifact@v4
7377
with:
7478
name: cibw-sdist
7579
path: dist/*.tar.gz
7680

77-
upload_pypi:
81+
upload_test_pypi:
7882
needs: [build_wheels, build_sdist]
7983
runs-on: ubuntu-latest
80-
environment: pypi
84+
environment: test-pypi
8185
permissions:
8286
id-token: write
83-
if: github.event_name == 'release' && github.event.action == 'published'
87+
if: |
88+
(github.event_name == 'release' && github.event.action == 'published') ||
89+
(github.event_name == 'push' && github.ref == 'refs/heads/main')
8490
steps:
8591
- uses: actions/download-artifact@v4
8692
with:
@@ -95,6 +101,19 @@ jobs:
95101
uses: pypa/gh-action-pypi-publish@release/v1
96102
with:
97103
repository-url: https://test.pypi.org/legacy/
104+
105+
upload_pypi:
106+
needs: [build_wheels, build_sdist, upload_test_pypi]
107+
runs-on: ubuntu-latest
108+
environment: pypi
109+
permissions:
110+
id-token: write
111+
if: github.event_name == 'release' && github.event.action == 'published'
112+
steps:
113+
- uses: actions/download-artifact@v4
114+
with:
115+
pattern: cibw-*
116+
path: dist
117+
merge-multiple: true
98118
- name: Publish package distribution to PyPI
99119
uses: pypa/gh-action-pypi-publish@release/v1
100-

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- name: Checkout Source
18-
uses: actions/checkout@v2.3.1
18+
uses: actions/checkout@v4.2.2
1919

2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Deploy
3636
if: github.ref == 'refs/heads/main'
37-
uses: JamesIves/github-pages-deploy-action@4.1.5
37+
uses: JamesIves/github-pages-deploy-action@v4.7.3
3838
with:
3939
branch: gh-pages # The branch the action should deploy to.
4040
folder: docs/_build/html # The folder the action should deploy.

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout source
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v4.2.2
1515

1616
- name: Cache pre-commit
1717
uses: actions/cache@v4

.github/workflows/stats.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Record GitHub repository statistics
2+
3+
on:
4+
schedule:
5+
# Run this once per day, towards the end of the day for keeping the most
6+
# recent data point most meaningful (hours are interpreted in UTC).
7+
- cron: "0 23 * * *"
8+
workflow_dispatch: # Allow for running this manually.
9+
10+
jobs:
11+
collect-stats:
12+
name: github-repo-stats
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: run-ghrs
16+
# Use latest release.
17+
uses: jgehrcke/github-repo-stats@306db38ad131cab2aa5f2cd3062bf6f8aa78c1aa
18+
with:
19+
ghtoken: ${{ secrets.ghrs_github_api_token }}

.github/workflows/tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,15 @@ jobs:
3333
- os: macos-latest
3434
python-version: "3.8"
3535
fail-fast: false
36+
env:
37+
CMAKE_POLICY_VERSION_MINIMUM: 3.5
3638

3739
steps:
3840
- name: Checkout Source
39-
uses: actions/checkout@v4
41+
uses: actions/[email protected]
42+
with:
43+
fetch-depth: 0
44+
fetch-tags: true
4045

4146
- name: Set up Python ${{ matrix.python-version }}
4247
uses: actions/setup-python@v5
@@ -54,6 +59,6 @@ jobs:
5459
pytest -v --cov-report=xml --cov=s2fft --cov-config=.coveragerc
5560
5661
- name: Upload coverage reports to Codecov
57-
uses: codecov/codecov-action@v3
62+
uses: codecov/codecov-action@v5
5863
env:
5964
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.gitmodules

Whitespace-only changes.

.pip_readme.rst

Lines changed: 0 additions & 103 deletions
This file was deleted.

.style.yapf

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)