Skip to content

Commit ae4014e

Browse files
committed
ci: fix UnicodeDecodeError during sdist build and enhance workflow triggers
- Add push and pull_request triggers to run workflow on code changes - Set PYTHONIOENCODING=utf-8 to prevent Unicode decode errors - Improve build process and dependency installation steps - Rename workflow file to build-and-test.yml for better clarity - Remove PyPI publishing steps to focus on build and test only
1 parent a6bd4d4 commit ae4014e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Upload Python Package
22

33
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
48
release:
59
types: [published]
6-
workflow_dispatch : {}
10+
workflow_dispatch: {}
711

812
permissions:
913
contents: read
@@ -43,4 +47,4 @@ jobs:
4347
- name: Install built package & smoke test
4448
run: |
4549
python -m pip install ./dist/*.whl
46-
python -m ThinkingInLangGraph --help
50+
python -m ThinkingInLangGraph --help

0 commit comments

Comments
 (0)