Skip to content

Bump the version for release #310

Bump the version for release

Bump the version for release #310

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
Tests:
name: pysnyk-test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
virtualenvs-path: .venv
version: 1.5.1
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install -v
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- name: Run pytest
run: |
source .venv/bin/activate
poetry run pytest