Skip to content

Commit

Permalink
chainging pipfile to all versions of pyhton
Browse files Browse the repository at this point in the history
  • Loading branch information
Kei Oshima authored and Kei Oshima committed Nov 6, 2023
1 parent 3be8bc7 commit 1b0d373
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
pull_request:
branches: [main, master]

jobs:
build:

@@ -14,22 +14,23 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: ["3.7", "3.9", "3.11"]
python-version: ["3.7", "3.9", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -25,13 +25,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install --user pipenv
pipenv install pytest
pipenv install
- name: Turn on 'editable' mode
run: |
pipenv install -e .
pip install pytest
pipenv install --dev
- name: Install package in editable mode
run: pipenv run pip install -e .
- name: Test with pytest
run: |
pipenv run python -m pytest
run: pipenv run pytest


2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ twine = "*"
[dev-packages]

[requires]
python_version = "3.11"
python_version = "3"

0 comments on commit 1b0d373

Please sign in to comment.