CI: Add test execution step to build and release workflows #3

Open
daniel wants to merge 1 commits from add-ci-tests into main
2 changed files with 6 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: python3 test_export.py
- name: Build
run: pyinstaller --onefile --name tamigo-cli tamigo.py
- name: Upload Linux Artifact
@@ -53,6 +55,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 \

View File

@@ -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 \