mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix mypy actions.
GitHub actions fail based on the exit code of the *last* command in the step, so we were failing mypy but passing the action.
This commit is contained in:
parent
b405c3ab32
commit
334d21897b
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -27,12 +27,24 @@ jobs:
|
|||||||
# For some reason the shiboken2.abi3.dll is not found properly, so I copy it instead
|
# For some reason the shiboken2.abi3.dll is not found properly, so I copy it instead
|
||||||
Copy-Item .\venv\Lib\site-packages\shiboken2\shiboken2.abi3.dll .\venv\Lib\site-packages\PySide2\ -Force
|
Copy-Item .\venv\Lib\site-packages\shiboken2\shiboken2.abi3.dll .\venv\Lib\site-packages\PySide2\ -Force
|
||||||
|
|
||||||
- name: Build binaries
|
- name: mypy game
|
||||||
run: |
|
run: |
|
||||||
./venv/scripts/activate
|
./venv/scripts/activate
|
||||||
mypy game
|
mypy game
|
||||||
|
|
||||||
|
- name: mypy gen
|
||||||
|
run: |
|
||||||
|
./venv/scripts/activate
|
||||||
mypy gen
|
mypy gen
|
||||||
|
|
||||||
|
- name: mypy theater
|
||||||
|
run: |
|
||||||
|
./venv/scripts/activate
|
||||||
mypy theater
|
mypy theater
|
||||||
|
|
||||||
|
- name: Build binaries
|
||||||
|
run: |
|
||||||
|
./venv/scripts/activate
|
||||||
$env:PYTHONPATH=".;./pydcs"
|
$env:PYTHONPATH=".;./pydcs"
|
||||||
pyinstaller pyinstaller.spec
|
pyinstaller pyinstaller.spec
|
||||||
|
|
||||||
|
|||||||
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -29,12 +29,24 @@ jobs:
|
|||||||
# For some reason the shiboken2.abi3.dll is not found properly, so I copy it instead
|
# For some reason the shiboken2.abi3.dll is not found properly, so I copy it instead
|
||||||
Copy-Item .\venv\Lib\site-packages\shiboken2\shiboken2.abi3.dll .\venv\Lib\site-packages\PySide2\ -Force
|
Copy-Item .\venv\Lib\site-packages\shiboken2\shiboken2.abi3.dll .\venv\Lib\site-packages\PySide2\ -Force
|
||||||
|
|
||||||
- name: Build binaries
|
- name: mypy game
|
||||||
run: |
|
run: |
|
||||||
./venv/scripts/activate
|
./venv/scripts/activate
|
||||||
mypy game
|
mypy game
|
||||||
|
|
||||||
|
- name: mypy gen
|
||||||
|
run: |
|
||||||
|
./venv/scripts/activate
|
||||||
mypy gen
|
mypy gen
|
||||||
|
|
||||||
|
- name: mypy theater
|
||||||
|
run: |
|
||||||
|
./venv/scripts/activate
|
||||||
mypy theater
|
mypy theater
|
||||||
|
|
||||||
|
- name: Build binaries
|
||||||
|
run: |
|
||||||
|
./venv/scripts/activate
|
||||||
$env:PYTHONPATH=".;./pydcs"
|
$env:PYTHONPATH=".;./pydcs"
|
||||||
pyinstaller pyinstaller.spec
|
pyinstaller pyinstaller.spec
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user