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
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,28 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0

- name: Install uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
enable-cache: true

- name: Setup python for build
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: "3.x"
run: uv python install

# run tests
- name: Install tox
run: python -m pip install tox-gh>=1.2
- name: Install build deps
run: uv sync --group build --dev

- name: Setup test suite
run: tox -vv --notest -e test
run: uvx tox -vv --notest -e test

- name: Run test suite
run: tox --skip-pkg-install -e test
run: uvx tox --skip-pkg-install -e test

# build and publish
- name: Install Hatch
run: pipx install hatch
run: uvx pipx install hatch

- name: Build dist artifacts
run: hatch build
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/run_full_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,22 @@ jobs:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0

- name: Setup python for test - ${{ matrix.py }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
- name: Install uv and set python versions
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
python-version: ${{ matrix.py }}
enable-cache: true

- name: Setup python for build
run: uv python install

- name: Install tox
run: python -m pip install tox-gh>=1.6
# run tests
- name: Install build deps
run: uv sync --group build --dev

- name: Setup test suite
run: tox -vv --notest -e test
run: uvx tox -vv --notest -e test

- name: Run test suite
run: tox --skip-pkg-install -e test
run: uvx tox --skip-pkg-install -e test