Skip to content

Commit 357b490

Browse files
committed
修复升级后又会回退
1 parent b75bcfd commit 357b490

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,24 +75,24 @@ jobs:
7575
Get-ChildItem -Path .\src -Recurse -Filter *.pyx | ForEach-Object { Remove-Item $_.FullName }
7676
Get-ChildItem -Path .\src -Recurse -Filter *.cpp | ForEach-Object { Remove-Item $_.FullName }
7777
78-
- name: Run tests
79-
run: |
80-
Get-ChildItem -Path ".\tests\*.py" | ForEach-Object {
81-
Write-Host "Running tests in $($_.FullName)"
82-
try {
83-
# Run the Python unittest command
84-
python -m unittest $_.FullName
85-
86-
# Check if the previous command succeeded
87-
if ($LASTEXITCODE -ne 0) {
88-
throw "Tests failed in $($_.FullName)"
89-
}
90-
} catch {
91-
# Stop the loop and return the error
92-
Write-Error $_
93-
exit 1
94-
}
95-
}
78+
- name: Run tests
79+
run: |
80+
Get-ChildItem -Path ".\tests\*.py" | ForEach-Object {
81+
Write-Host "Running tests in $($_.FullName)"
82+
try {
83+
# Run the Python unittest command
84+
python -m unittest $_.FullName
85+
86+
# Check if the previous command succeeded
87+
if ($LASTEXITCODE -ne 0) {
88+
throw "Tests failed in $($_.FullName)"
89+
}
90+
} catch {
91+
# Stop the loop and return the error
92+
Write-Error $_
93+
exit 1
94+
}
95+
}
9696
9797
- name: Build Executable
9898
run: |

requirements-direct-ml.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pip-compile '.\requirements-dml.in'
66
#
77

8-
ok-script==0.0.563
8+
ok-script==0.0.564
99

1010
antlr4-python3-runtime==4.9.3
1111
# via omegaconf

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pip-compile '.\requirements.in'
66
#
77

8-
ok-script==0.0.563
8+
ok-script==0.0.564
99

1010
antlr4-python3-runtime==4.9.3
1111
# via omegaconf

0 commit comments

Comments
 (0)