Skip to content

Merge pull request #9 from snyk-labs/chore/refactor #17

Merge pull request #9 from snyk-labs/chore/refactor

Merge pull request #9 from snyk-labs/chore/refactor #17

Workflow file for this run

name: Build and Test
on:
push:
workflow_dispatch:
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: python -m poetry install -v
env:
POETRY_VIRTUALENVS_IN_PROJECT: true
- name: Run pytest
run: |
python -m poetry run pytest -v --ruff --ruff-format
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}