CI: Add test execution step to build and release workflows
This commit is contained in:
@@ -17,6 +17,8 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
- name: Run tests
|
||||
run: python3 test_export.py
|
||||
- name: Build
|
||||
run: pyinstaller --onefile --name tamigo-cli tamigo.py
|
||||
- name: Rename for release
|
||||
@@ -51,6 +53,7 @@ jobs:
|
||||
export TEMP=C:\\\\temp && \
|
||||
mkdir -p /src/build /src/dist_win && \
|
||||
pip install -r requirements.txt && \
|
||||
python3 test_export.py && \
|
||||
pyinstaller --onefile --name tamigo-cli \
|
||||
--workpath /src/build \
|
||||
--distpath /src/dist_win \
|
||||
|
||||
Reference in New Issue
Block a user