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
16 changes: 11 additions & 5 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name-template: '$NEXT_MINOR_VERSION'
tag-template: '$NEXT_MINOR_VERSION'
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: '🚀 New Features'
label: 'type:new feature'
semver-increment: minor
when:
label: 'type:new feature'

- title: '🔬 Improvements'
label: 'type:improvement'
when:
label: 'type:improvement'

- title: '🐞 Bug Fixes'
label: 'type:bug'
when:
label: 'type:bug'

change-template: '* $TITLE (via #$NUMBER) - @$AUTHOR'
template: |
Expand Down
44 changes: 23 additions & 21 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
name: build allure python
name: Test Allure Python integrations

on:
workflow_dispatch:

pull_request:
branches:
- master
- '*'

schedule:
# Runs at 05:30 on Mondays
- cron: "30 5 * * 1"

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pytest-changes:
name: Collect allure-pytest file changes
runs-on: ubuntu-latest
outputs:
changed: ${{ steps.filter.outputs.allure-pytest }}
steps:
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v4
id: filter
with:
filters: |
Expand All @@ -32,7 +42,7 @@ jobs:
outputs:
packages: ${{ steps.filter.outputs.changes }}
steps:
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v4
id: filter
with:
filters: |
Expand Down Expand Up @@ -77,12 +87,12 @@ jobs:
needs: [pytest-changes, other-changes]
if: ${{ needs.pytest-changes.outputs.changed == 'true' || needs.other-changes.outputs.packages != '[]' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.13"
python-version: "3.14"

- name: Install linting packages
run: pip install -r ./requirements/linting.txt
Expand All @@ -97,22 +107,15 @@ jobs:
if: ${{ needs.pytest-changes.outputs.changed == 'true' }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
pytest-version: ["7.*", "8.*", "9.*"]
exclude:
# pytest 9 supports Python >= 3.10
- python-version: "3.8"
pytest-version: "9.*"
- python-version: "3.9"
pytest-version: "9.*"
env:
TEST_TMP: /tmp
ALLURE_INDENT_OUTPUT: yep
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

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

Expand All @@ -137,17 +140,16 @@ jobs:
strategy:
matrix:
package: ${{ fromJSON(needs.other-changes.outputs.packages) }}
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
exclude:
- package: allure-pytest
env:
TEST_TMP: /tmp
ALLURE_INDENT_OUTPUT: yep
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: toolmantim/release-drafter@v5.2.0
- uses: toolmantim/release-drafter@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.x'

Expand Down
Loading