Skip to content

Commit

Permalink
use poetry instead of pipenv for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
acrogenesis committed Apr 4, 2024
1 parent 29cd9f5 commit d896eab
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,22 @@ jobs:

steps:
# Validate every action
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setting up Python 3.7 & env vars
uses: actions/setup-python@v1
- name: Setting up Python 3.12 & env vars
uses: actions/setup-python@v5
with:
python-version: 3.7

- name: Installing pipenv
uses: dschep/install-pipenv-action@v1

- name: Installing dependencies
python-version: 3.12
- name: Install dependencies
run: |
pipenv install --dev
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
# Testing all test and stops if there is one error.
- name: Testing with pytest
env: # Environment variables
API: ${{ secrets.API }}
WSS: ${{ secrets.WSS }}
TOKEN: ${{ secrets.TOKEN }}
run: |
pipenv run pytest -x
poetry run pytest -x

0 comments on commit d896eab

Please sign in to comment.