Skip to content

Commit

Permalink
[try] test on python3.4-3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Oct 29, 2023
1 parent af71187 commit 1b321bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "pypy3.7"]
os: [ubuntu-latest]
python-version: ["3.4", "pypy3.4", "3.5", "pypy3.5", "3.6", "pypy3.6", "3.7", "pypy3.7"]

steps:
- uses: actions/checkout@v3
- name: Set up PDM on Python ${{ matrix.python-version }}
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
architecture: x86
- name: Install dependencies
run: |
pdm install
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Parse partial JSON generated by LLM"
authors = [{ name = "Muspi Merol", email = "me@promplate.dev" }]
dependencies = []
optional-dependencies = { playground = ["rich"] }
requires-python = ">=3.6"
requires-python = ">=3.4"
readme = "README.md"
license = { text = "MIT" }
scripts = { json-playground = "partial_json_parser.playground:main" }
Expand All @@ -24,7 +24,7 @@ requires = ["pdm-backend"]
build-backend = "pdm.backend"

[tool.pdm.dev-dependencies]
dev = ["hypothesis==6.31.6", "tqdm==4.64.1"]
dev = ["hypothesis", "tqdm"]

[tool.pdm.scripts]
test-hypotheses = { call = "tests.test_hypotheses:main" }
Expand Down

0 comments on commit 1b321bd

Please sign in to comment.