Skip to content

Commit

Permalink
test: use poetry instead pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfelipeog committed Jan 22, 2024
1 parent a0a1910 commit 4e86f16
Showing 1 changed file with 11 additions and 8 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

0 comments on commit 4e86f16

Please sign in to comment.