Skip to content

Commit

Permalink
6
Browse files Browse the repository at this point in the history
  • Loading branch information
majiidd committed Nov 8, 2024
1 parent f260d90 commit 2c8ab3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
name: ${{matrix.os}} / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9', 'pypy-3.10']
Expand All @@ -25,23 +26,18 @@ jobs:
- name: Display Python version
run: python --version

- name: Get python path
id: python-path
run: |
echo "P_PATH=$(python -c 'import sys; print(sys.executable)')" >> $GITHUB_ENV
- name: Install pipenv
run: |
python -m pip install pipenv
- name: Install dependencies
env:
PIPENV_DEFAULT_PYTHON_VERSION: ${{ matrix.python-version }}
PIPENV_NOSPIN: "1"
PYTHONIOENCODING: "utf-8"
GIT_ASK_YESNO: "false"
run: |
echo '${{ steps.cp313.outputs.cache-hit }}'
pipenv install --dev --python=${{ env.P_PATH }}
pipenv install --dev
- name: Run tests
env:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_jalalidate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import pytest

from persiantools.jdatetime import JalaliDate, MINYEAR, MAXYEAR
from persiantools.jdatetime import MAXYEAR, MINYEAR, JalaliDate


class TestJalaliDate(TestCase):
Expand Down

0 comments on commit 2c8ab3b

Please sign in to comment.