Skip to content
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
15 changes: 9 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,13 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
uses: astral-sh/setup-uv@v7
with:
activate-environment: "true"
python-version: "3.13"

- name: Install linting packages
run: pip install -r ./requirements/linting.txt
run: uv pip install -r ./requirements/linting.txt

- name: Linting the codebase
run: poe linter
Expand All @@ -106,13 +107,14 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: astral-sh/setup-uv@v7
with:
activate-environment: "true"
python-version: ${{ matrix.python-version }}

- name: Install packages
run: |
pip install ./allure-python-commons \
uv pip install ./allure-python-commons \
./allure-python-commons-test \
./allure-pytest \
pytest==${{ matrix.pytest-version }} \
Expand Down Expand Up @@ -141,13 +143,14 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: astral-sh/setup-uv@v7
with:
activate-environment: "true"
python-version: ${{ matrix.python-version }}

- name: Install packages
run: |
pip install ./allure-python-commons \
uv pip install ./allure-python-commons \
./allure-python-commons-test \
./${{ matrix.package }} \
-r ./requirements/testing.txt \
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
uses: astral-sh/setup-uv@v7
with:
activate-environment: "true"
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
run: uv pip install setuptools wheel twine

- name: Build and publish
env:
Expand Down