Skip to content

Commit

Permalink
Use pyproject instead pipfile and poetry instead pipenv (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfelipeog authored Jan 22, 2024
2 parents a0e882a + 4e86f16 commit 7ef95ae
Show file tree
Hide file tree
Showing 5 changed files with 806 additions and 542 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,26 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.9', '3.10', '3.11']

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies

- name: Install poetry
run: |
python -m pip install --upgrade pip
python -m pip install pipenv
pipenv install
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Run Unittest
run: |
pipenv run python -m unittest discover tests/ --verbose
poetry run python -m unittest discover tests/ --verbose
14 changes: 0 additions & 14 deletions Pipfile

This file was deleted.

Loading

0 comments on commit 7ef95ae

Please sign in to comment.