diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f3cf298..940546f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 \ diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 026936b..7bc4bee 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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 \