Skip to content

use poetry instead of pipenv for CI #114

use poetry instead of pipenv for CI

use poetry instead of pipenv for CI #114

Workflow file for this run

# Name of the project
name: PygqlClient [CI]
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push]
jobs:
tests:
# OS to run
runs-on: ubuntu-latest
steps:
# Validate every action
- uses: actions/checkout@v4
- name: Setting up Python 3.12 & env vars
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
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: |
poetry run pytest -x