Skip to content

Dependencies updated. Fixed issues with new versions. #210

Dependencies updated. Fixed issues with new versions.

Dependencies updated. Fixed issues with new versions. #210

Workflow file for this run

name: Testing fastapi-template
on:
pull_request:
jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
# All of these options are optional, so you can remove them if you are happy with the defaults
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md"]'
pytest:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install deps
run: |
pip install -U pip
pip install poetry==1.4.2
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Setup GIT
run: |
git config --global user.name "fastapi_template"
git config --global user.email "fastapi_template@pytest.python"
- name: Run tests
run: poetry run pytest -vv --exitfirst -n auto