Skip to content

Commit

Permalink
build single-thread
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm committed Aug 6, 2024
1 parent d117678 commit ac79c7c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .github/actions/setup-deps/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: 'Set up dependencies'
description: 'Set up the dependencies'
runs:
using: 'composite'
steps:
- name: Install dependencies
run: sudo apt-get install libldap-common
shell: bash
10 changes: 6 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ jobs:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
# - uses: ./.github/actions/setup-deps
- uses: ./.github/actions/setup-poetry
with:
python-version: ${{ matrix.python-version }}
- name: Run styling check
run: poetry run pre-commit run --all-files
- name: Run styling check
run: poetry run pre-commit run --all-files
- name: Build with poetry
run: poetry build
- name: Install with poetry
run: poetry install
- name: Testing
run: |
poetry run pytest -v tests
- name: Build with poetry
run: poetry build

2 changes: 2 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# - uses: ./.github/actions/setup-deps

- name: Install poetry
run: pipx install poetry==1.8.3 --python $(which python3)
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ def build_local(multi_threaded=True):

if "__main__"==__name__:

build_local(multi_threaded=True)
build_local(multi_threaded=False)

0 comments on commit ac79c7c

Please sign in to comment.