Skip to content

Commit

Permalink
fix: action
Browse files Browse the repository at this point in the history
  • Loading branch information
guptadev21 committed Oct 24, 2024
1 parent ac03fcd commit a5ebf99
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/python-compatibility.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 🐍 Python Compatibility Check
on: [ push ]
on: [push]

jobs:
python-compatibility:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8.10', '3.9', '3.10', '3.11', '3.12', '3.13' ]
python-version: ['3.8.10', '3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -22,5 +22,13 @@ jobs:
python -m pip install --upgrade pip
pip install pytest
- name: PyTest
run: pytest tests/test_get_token.py
- name: Install local package using uv
run: |
uv pip install -e .
- name: Set PYTHONPATH
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
- name: Run PyTest
run: pytest tests/test_get_token.py

0 comments on commit a5ebf99

Please sign in to comment.