This commit is contained in:
parent
547d661038
commit
b2de585483
@ -14,10 +14,6 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker container
|
- name: Run script in Docker container
|
||||||
uses: addnab/docker-run-action@v3
|
run: |
|
||||||
with:
|
docker run -v $PWD:/app git.mamahaha.work/sangge/tpre:base python speed_test.py
|
||||||
image: git.mamahaha.work/sangge/tpre:base
|
|
||||||
options: -v .:/app # 将当前工作目录挂载到容器中
|
|
||||||
run: |
|
|
||||||
python speed_test.py # 执行Python脚本
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user