Skip to content

Commit

Permalink
fix: finally the ci/cd works hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh672003 committed Jul 1, 2024
1 parent 97fbc1c commit 02995fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application

on:
Expand All @@ -14,12 +11,19 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
- name: Install dependencies
run: pdm install
- name: Lint with ruff
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies = [
"importlib>=1.0.4",
"xdg-base-dirs>=6.0.1",
]
requires-python = ">=3.12"
requires-python = ">=3.11"
readme = "README.md"
license = { text = "GPL-3.0-only" }

Expand Down

0 comments on commit 02995fa

Please sign in to comment.