Skip to content

Commit

Permalink
chore: update GH Action to migrate from pipenv to Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen authored Sep 15, 2023
1 parent dbe0c57 commit 0eda13c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install --dev -e .
poetry install
- name: Lint with flake8
run: |
pipenv run flake8 . --count --show-source --statistics
poetry run flake8 . --count --show-source --statistics
- name: Test with pytest
run: |
pipenv run pytest
poetry run pytest
- name: Formatting checks
run: |
pipenv run isort --profile black --diff .
pipenv run black --check .
poetry run isort --profile black --diff .
poetry run black --check .
# - name: Report Coverage
# if: matrix.python-version == '3.11'
# uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 0eda13c

Please sign in to comment.