Fix sqlalchemy 1.4/2.0 #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pytest | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install PostgreSQL | |
uses: harmon758/postgresql-action@v1 | |
with: | |
postgresql db: jwthenticator | |
postgresql password: my-password | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry config virtualenvs.create false | |
poetry install | |
- name: Run Pytest | |
env: | |
DB_PASS: my-password | |
run: | | |
python -m pytest jwthenticator |