Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(ci): use Python 3.12 to fit QGIS shipped version #339

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
16 changes: 11 additions & 5 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ name: "📦 Build & 🚀 Release"

env:
PROJECT_FOLDER: "qgis_resource_sharing"
PYTHON_VERSION: 3.9
PYTHON_VERSION: "3.12"

on:
push:
branches: [master]
branches:
- master
tags:
- "*"

pull_request:
branches: [master]
branches:
- master
paths:
- .github/workflows/build_release.yml

Expand Down Expand Up @@ -88,7 +90,9 @@ jobs:
packaging:
name: "📦 Packaging plugin"
runs-on: ubuntu-latest
needs: [translation, dependencies]
needs:
- dependencies
- translation

if: ${{ !startsWith(github.ref, 'refs/tags/') }}

Expand Down Expand Up @@ -145,7 +149,9 @@ jobs:
release:
name: "🚀 Release"
runs-on: ubuntu-latest
needs: [translation, dependencies]
needs:
- dependencies
- translation

if: startsWith(github.ref, 'refs/tags/')

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:
cancel-in-progress: true

env:
PYTHON_VERSION: 3.9
PYTHON_VERSION: "3.12"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ name: "✅ Linter"

env:
PROJECT_FOLDER: "qgis_resource_sharing"
PYTHON_VERSION: 3.9
PYTHON_VERSION: "3.12"

# because linter is a required check, it must be triggered on every push and not filtered on paths
on:
push:
branches: [master]
branches:
- master
paths:
- "**.py"
- .github/workflows/linter.yml

pull_request:
branches: [master]
branches:
- master
paths:
- "**.py"
- .github/workflows/linter.yml
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ name: "🎳 Tester"

on:
push:
branches: [master]
branches:
- master
paths:
- "**.py"
- .github/workflows/tester.yml
- requirements/embedded.txt
- requirements/testing.txt

pull_request:
branches: [master]
branches:
- master
paths:
- "**.py"
- .github/workflows/tester.yml
Expand All @@ -19,7 +21,7 @@ on:

env:
PROJECT_FOLDER: "qgis_resource_sharing"
PYTHON_VERSION: 3.9
PYTHON_VERSION: "3.12"

jobs:
tests-unit:
Expand Down
4 changes: 2 additions & 2 deletions qgis_resource_sharing/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ tracker=https://github.com/QGIS-Contribution/QGIS-ResourceSharing/issues/

# versioning
version=1.1.0
qgisMinimumVersion=3.22
qgisMaximumVersion=3.34.5
qgisMinimumVersion=3.34.6
qgisMaximumVersion=3.99
experimental=False
deprecated=False
changelog=
Loading