Skip to content
Merged
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
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,19 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python
run: uv python install

- name: Install dependencies
run: make install-lint
run: make install-dependencies

- name: Run check-python
run: make check-python
- name: Run check-ruff
run: make check-ruff

shfmt:
runs-on: ubuntu-latest
Expand All @@ -48,13 +51,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python
run: uv python install

- name: Install dependencies
run: make install
run: make install-dependencies

- name: Run tests
run: make test
19 changes: 13 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: ${{ matrix.python-version }}

- name: Set up Python
run: uv python install

- name: Install dependencies
run: make install-dependencies

- name: Build artifact
run: |
make install-release
python setup.py sdist
python setup.py bdist_wheel
uv run python -m build

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,5 @@ cython_debug/

# Visual studio temps
.vs/
.vscode/
.vscode/
coverage.json
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.27

* **Update repo to us `uv`**

## 0.0.26

* **Bump `unstructured-ingest` to 0.5.23**
Expand Down
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

Loading