diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index c6fe497..e4d89f3 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -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 }} @@ -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 diff --git a/Pipfile b/Pipfile index 3f60b0b..d81ccbb 100644 --- a/Pipfile +++ b/Pipfile @@ -11,4 +11,4 @@ twine = "*" [dev-packages] [requires] -python_version = "3.11" +python_version = "3"