Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
95acdb3d
Unverified
提交
95acdb3d
authored
10月 13, 2025
作者:
Ben Mares
提交者:
GitHub
10月 13, 2025
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Pin SHA hashes of all actions via `gha-tools` command (#1656)
```bash uvx gha-tools autoupdate ./.github/workflows/ --pin=all --version-strategy=specific --write ```
上级
c58f10be
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
45 行增加
和
45 行删除
+45
-45
copilot-setup-steps.yml
.github/workflows/copilot-setup-steps.yml
+2
-2
mypy.yml
.github/workflows/mypy.yml
+2
-2
pypi.yml
.github/workflows/pypi.yml
+21
-21
slow-tests-issue.yml
.github/workflows/slow-tests-issue.yml
+2
-2
test.yml
.github/workflows/test.yml
+16
-16
zizmor.yml
.github/workflows/zizmor.yml
+2
-2
没有找到文件。
.github/workflows/copilot-setup-steps.yml
浏览文件 @
95acdb3d
...
...
@@ -26,10 +26,10 @@ jobs:
# If you do not check out your code, Copilot will do this for you.
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@
v5
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
-
name
:
"
Set
up
Micromamba"
uses
:
mamba-org/setup-micromamba@
v2
uses
:
mamba-org/setup-micromamba@
add3a49764cedee8ee24e82dfde87f5bc2914462
# v2.0.7
with
:
environment-name
:
pytensor-test
micromamba-version
:
"
1.5.10-0"
...
...
.github/workflows/mypy.yml
浏览文件 @
95acdb3d
...
...
@@ -12,10 +12,10 @@ jobs:
run
:
shell
:
bash -leo pipefail {0}
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
persist-credentials
:
false
-
uses
:
mamba-org/setup-micromamba@
v2
-
uses
:
mamba-org/setup-micromamba@
add3a49764cedee8ee24e82dfde87f5bc2914462
# v2.0.7
with
:
micromamba-version
:
"
1.5.10-0"
# until https://github.com/mamba-org/setup-micromamba/issues/225 is resolved
environment-file
:
environment.yml
...
...
.github/workflows/pypi.yml
浏览文件 @
95acdb3d
...
...
@@ -23,7 +23,7 @@ jobs:
outputs
:
should_run
:
${{ steps.set_should_run.outputs.should_run }}
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
persist-credentials
:
false
-
uses
:
dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
# v3.0.2
...
...
@@ -65,7 +65,7 @@ jobs:
id-token
:
write
attestations
:
write
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
fetch-depth
:
0
submodules
:
true
...
...
@@ -75,13 +75,13 @@ jobs:
run
:
pipx run build --sdist
-
name
:
Attest GitHub build provenance
uses
:
actions/attest-build-provenance@
v3
uses
:
actions/attest-build-provenance@
977bb373ede98d70efdf65b84cb5f73e068dcc2a
# v3.0.0
# Don't attest from forks
if
:
github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with
:
subject-path
:
dist/*.tar.gz
-
uses
:
actions/upload-artifact@
v4
-
uses
:
actions/upload-artifact@
ea165f8d65b6e75b540449e92b4886f43607fa02
# v4.6.2
with
:
name
:
sdist
path
:
dist/*.tar.gz
...
...
@@ -97,11 +97,11 @@ jobs:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
fetch-depth
:
0
persist-credentials
:
false
-
uses
:
hynek/build-and-inspect-python-package@
v2
-
uses
:
hynek/build-and-inspect-python-package@
efb823f52190ad02594531168b7a2d5790e66516
# v2.14.0
build_wheels
:
name
:
Build wheels for ${{ matrix.platform }}
...
...
@@ -121,22 +121,22 @@ jobs:
-
windows-latest
-
ubuntu-latest
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
fetch-depth
:
0
persist-credentials
:
false
-
name
:
Build wheels
uses
:
pypa/cibuildwheel@
7c619efba910c04005a835b110b057fc28fd6e93
# v3.2.0
uses
:
pypa/cibuildwheel@
9c00cb4f6b517705a3794b22395aedc36257242c
# v3.2.1
-
name
:
Attest GitHub build provenance
uses
:
actions/attest-build-provenance@
v3
uses
:
actions/attest-build-provenance@
977bb373ede98d70efdf65b84cb5f73e068dcc2a
# v3.0.0
# Don't attest from forks
if
:
github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with
:
subject-path
:
./wheelhouse/*.whl
-
uses
:
actions/upload-artifact@
v4
-
uses
:
actions/upload-artifact@
ea165f8d65b6e75b540449e92b4886f43607fa02
# v4.6.2
with
:
name
:
wheels-${{ matrix.platform }}
path
:
./wheelhouse/*.whl
...
...
@@ -153,13 +153,13 @@ jobs:
id-token
:
write
attestations
:
write
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
fetch-depth
:
0
persist-credentials
:
false
-
name
:
Set up Python
uses
:
actions/setup-python@
v6
uses
:
actions/setup-python@
e797f83bcb11b83ae66e0230d6156d7c80228e7c
# v6.0.0
with
:
python-version
:
'
3.11'
...
...
@@ -171,13 +171,13 @@ jobs:
PYODIDE=1 python setup.py bdist_wheel --universal
-
name
:
Attest GitHub build provenance
uses
:
actions/attest-build-provenance@
v3
uses
:
actions/attest-build-provenance@
977bb373ede98d70efdf65b84cb5f73e068dcc2a
# v3.0.0
# Don't attest from forks
if
:
github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
with
:
subject-path
:
dist/*.whl
-
uses
:
actions/upload-artifact@
v4
-
uses
:
actions/upload-artifact@
ea165f8d65b6e75b540449e92b4886f43607fa02
# v4.6.2
with
:
name
:
universal_wheel
path
:
dist/*.whl
...
...
@@ -187,19 +187,19 @@ jobs:
needs
:
[
check_changes
,
make_sdist
,
build_wheels
]
runs-on
:
ubuntu-22.04
steps
:
-
uses
:
actions/download-artifact@
v5
-
uses
:
actions/download-artifact@
634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0
with
:
name
:
sdist
path
:
dist
-
uses
:
actions/download-artifact@
v5
-
uses
:
actions/download-artifact@
634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0
with
:
pattern
:
wheels-*
path
:
dist
merge-multiple
:
true
-
name
:
Set up Python
uses
:
actions/setup-python@
v6
uses
:
actions/setup-python@
e797f83bcb11b83ae66e0230d6156d7c80228e7c
# v6.0.0
with
:
python-version
:
'
3.11'
...
...
@@ -229,21 +229,21 @@ jobs:
# Don't publish from forks
if
:
github.repository_owner == 'pymc-devs' && github.event_name == 'release' && github.event.action == 'published'
steps
:
-
uses
:
actions/download-artifact@
v5
-
uses
:
actions/download-artifact@
634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0
with
:
name
:
sdist
path
:
dist
-
uses
:
actions/download-artifact@
v5
-
uses
:
actions/download-artifact@
634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0
with
:
pattern
:
wheels-*
path
:
dist
merge-multiple
:
true
-
uses
:
actions/download-artifact@
v5
-
uses
:
actions/download-artifact@
634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0
with
:
name
:
universal_wheel
path
:
dist
-
uses
:
pypa/gh-action-pypi-publish@
v1.12.4
-
uses
:
pypa/gh-action-pypi-publish@
ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
# v1.13.0
# Implicitly attests that the packages were uploaded in the context of this workflow.
.github/workflows/slow-tests-issue.yml
浏览文件 @
95acdb3d
...
...
@@ -18,9 +18,9 @@ jobs:
-
name
:
Install ZSH
run
:
sudo apt-get update && sudo apt-get install -y zsh
-
name
:
Checkout code
uses
:
actions/checkout@
v5
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
-
name
:
Set up Python
uses
:
actions/setup-python@
v6
uses
:
actions/setup-python@
e797f83bcb11b83ae66e0230d6156d7c80228e7c
# v6.0.0
with
:
python-version
:
"
3.11"
-
name
:
Trigger the script
...
...
.github/workflows/test.yml
浏览文件 @
95acdb3d
...
...
@@ -22,11 +22,11 @@ jobs:
outputs
:
changes
:
${{ steps.changes.outputs.src }}
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
fetch-depth
:
0
persist-credentials
:
false
-
uses
:
dorny/paths-filter@
v3
-
uses
:
dorny/paths-filter@
de90cc6fb38fc0963ad72b210f1f284cd68cea36
# v3.0.2
id
:
changes
with
:
filters
:
|
...
...
@@ -56,13 +56,13 @@ jobs:
matrix
:
python-version
:
[
"
3.11"
,
"
3.13"
]
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
persist-credentials
:
false
-
uses
:
actions/setup-python@
v6
-
uses
:
actions/setup-python@
e797f83bcb11b83ae66e0230d6156d7c80228e7c
# v6.0.0
with
:
python-version
:
${{ matrix.python-version }}
-
uses
:
pre-commit/action@v3.0.1
-
uses
:
pre-commit/action@
2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd
#
v3.0.1
test
:
name
:
"
${{
matrix.os
}}
test
py${{
matrix.python-version
}}
:
fast-compile
${{
matrix.fast-compile
}}
:
float32
${{
matrix.float32
}}
:
${{
matrix.part
}}"
...
...
@@ -170,12 +170,12 @@ jobs:
part
:
"
tests/tensor/test_blas.py
tests/tensor/test_elemwise.py
tests/tensor/test_math_scipy.py"
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
fetch-depth
:
0
persist-credentials
:
false
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
mamba-org/setup-micromamba@
v2
uses
:
mamba-org/setup-micromamba@
add3a49764cedee8ee24e82dfde87f5bc2914462
# v2.0.7
with
:
environment-name
:
pytensor-test
micromamba-version
:
"
1.5.10-0"
# until https://github.com/mamba-org/setup-micromamba/issues/225 is resolved
...
...
@@ -242,7 +242,7 @@ jobs:
FLOAT32
:
${{ matrix.float32 }}
-
name
:
Upload coverage file
uses
:
actions/upload-artifact@
v4
uses
:
actions/upload-artifact@
ea165f8d65b6e75b540449e92b4886f43607fa02
# v4.6.2
with
:
name
:
coverage-${{ steps.matrix-id.outputs.id }}
path
:
coverage/coverage-${{ steps.matrix-id.outputs.id }}.xml
...
...
@@ -257,12 +257,12 @@ jobs:
strategy
:
fail-fast
:
false
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
fetch-depth
:
0
persist-credentials
:
false
-
name
:
Set up Python 3.11
uses
:
mamba-org/setup-micromamba@
v2
uses
:
mamba-org/setup-micromamba@
add3a49764cedee8ee24e82dfde87f5bc2914462
# v2.0.7
with
:
environment-name
:
pytensor-test
micromamba-version
:
"
1.5.10-0"
# until https://github.com/mamba-org/setup-micromamba/issues/225 is resolved
...
...
@@ -279,7 +279,7 @@ jobs:
env
:
PYTHON_VERSION
:
3.11
-
name
:
Download previous benchmark data
uses
:
actions/cache@
v4
uses
:
actions/cache@
0057852bfaa89a56745cba8c7296529d2fc39830
# v4.3.0
with
:
path
:
./cache
key
:
${{ runner.os }}-benchmark
...
...
@@ -289,7 +289,7 @@ jobs:
export PYTENSOR_FLAGS=mode=FAST_COMPILE,warn__ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc__cxxflags=-pipe
python -m pytest --runslow --benchmark-only --benchmark-json output.json
-
name
:
Store benchmark result
uses
:
benchmark-action/github-action-benchmark@
v1
uses
:
benchmark-action/github-action-benchmark@
4bdcce38c94cec68da58d012ac24b7b1155efe8b
# v1.20.7
with
:
name
:
Python Benchmark with pytest-benchmark
tool
:
"
pytest"
...
...
@@ -317,12 +317,12 @@ jobs:
needs
:
[
changes
,
all-checks
]
if
:
${{ needs.changes.outputs.changes == 'true' && needs.all-checks.result == 'success' }}
steps
:
-
uses
:
actions/checkout@
v5
-
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
persist-credentials
:
false
-
name
:
Set up Python
uses
:
actions/setup-python@
v6
uses
:
actions/setup-python@
e797f83bcb11b83ae66e0230d6156d7c80228e7c
# v6.0.0
with
:
python-version
:
"
3.13"
...
...
@@ -331,14 +331,14 @@ jobs:
python -m pip install -U coverage>=5.1 coveralls
-
name
:
Download coverage file
uses
:
actions/download-artifact@
v5
uses
:
actions/download-artifact@
634f93cb2916e3fdff6788551b99b062d0335ce0
# v5.0.0
with
:
pattern
:
coverage-*
path
:
coverage
merge-multiple
:
true
-
name
:
Upload coverage to Codecov
uses
:
codecov/codecov-action@
v5
uses
:
codecov/codecov-action@
5a1091511ad55cbe89839c7260b706298ca349f7
# v5.5.1
with
:
directory
:
./coverage/
fail_ci_if_error
:
true
...
...
.github/workflows/zizmor.yml
浏览文件 @
95acdb3d
...
...
@@ -15,11 +15,11 @@ jobs:
security-events
:
write
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@
v5
uses
:
actions/checkout@
08c6903cd8c0fde910a37f88322edcfb5dd907a8
# v5.0.0
with
:
persist-credentials
:
false
-
uses
:
hynek/setup-cached-uv@
v2
-
uses
:
hynek/setup-cached-uv@
757bedc3f972eb7227a1aa657651f15a8527c817
# v2.3.0
-
name
:
Run zizmor 🌈
run
:
uvx zizmor --format sarif . > results.sarif
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论