Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4.3.0
uses: actions/setup-python@v4.7.1
with:
python-version: '3.x'
python-version: '3.11'
architecture: 'x64'
- name: Install packages
run: pip install .
- name: Run test
run: python setup.py test
# we do not use the available GitHub action as that does not support building
# entrypoints that are not located in the root folder of the repo at the moment
- name: Create binary
run: |
pip install .
python -m nuitka --assume-yes-for-downloads --standalone --onefile --linux-onefile-icon=/usr/share/pixmaps/python3.xpm teamscale_precommit_client/precommit_client.py
mv precommit_client.bin teamscale-cli
- name: 'Upload Artifact'
Expand All @@ -41,7 +42,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4.3.0
uses: actions/setup-python@v4.7.1
with:
python-version: '3.x'
architecture: 'x64'
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
]
},
install_requires=[
'setuptools==68.2.2',
'teamscale-client==7.1.1',
'gitpython==3.1.35',
'gitpython==3.1.37',

'gitdb2==4.0.2',

# Required to compile to a native binary
'nuitka==1.8.2'
'nuitka==1.8.5'
],
tests_require=[
'teamscale-client',
Expand Down