Skip to content

Commit 06e883d

Browse files
committed
Update CI; package tests
1 parent a74a175 commit 06e883d

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ jobs:
6060
include:
6161
- os: windows-latest
6262
TARGET: windows
63-
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F truth_seeker.py
63+
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F ./app/truth_seeker.py
6464
OUT_FILE_NAME: truth_seeker.exe
6565
ASSET_MIME: application/vnd.microsoft.portable-executable
6666
- os: ubuntu-latest
6767
TARGET: ubuntu
68-
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F truth_seeker.py
68+
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F ./app/truth_seeker.py
6969
OUT_FILE_NAME: truth_seeker
7070
ASSET_MIME: application/x-binary
7171

@@ -124,7 +124,7 @@ jobs:
124124
125125
<b>WorkFlows:</b> <a href="https://github.com/${{ github.repository }}/actions">ActionsList</a>
126126
127-
Commit with tag: ${{ needs.prepare.outputs.CURRENT_TAG }}
127+
Commit with tag: ${{ env.CURRENT_TAG }}
128128
129129
Repository: ${{ github.repository }}
130130

.github/workflows/code_quality.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: pip install -r requirements.txt
5252

5353
- name: Testing
54-
run: pytest -v ./tests
54+
run: pytest -v ./tests/
5555

5656
- name: Notify if failure
5757
if: ${{ failure() }}

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ jobs:
103103
include:
104104
- os: windows-latest
105105
TARGET: windows
106-
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F truth_seeker.py
106+
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F ./app/truth_seeker.py
107107
OUT_FILE_NAME: truth_seeker.exe
108108
ASSET_MIME: application/vnd.microsoft.portable-executable
109109
- os: ubuntu-latest
110110
TARGET: ubuntu
111-
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F truth_seeker.py
111+
CMD_BUILD: python -m PyInstaller --clean --workpath /tmp/build --specpath /tmp -F ./app/truth_seeker.py
112112
OUT_FILE_NAME: truth_seeker
113113
ASSET_MIME: application/x-binary
114114

@@ -143,7 +143,7 @@ jobs:
143143
env:
144144
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
145145
with:
146-
upload_url: ${{ needs.release.outputs.RELEASE_URL }}
146+
upload_url: ${{ env.RELEASE_URL }}
147147
asset_path: ./dist/${{ matrix.OUT_FILE_NAME }}
148148
asset_name: ${{ matrix.OUT_FILE_NAME }}
149149
asset_content_type: ${{ matrix.ASSET_MIME }}

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)