Skip to content

Merge pull request #8 from leynier/dependabot/pip/jinja2-3.1.3 #24

Merge pull request #8 from leynier/dependabot/pip/jinja2-3.1.3

Merge pull request #8 from leynier/dependabot/pip/jinja2-3.1.3 #24

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.1.13
virtualenvs-create: true
virtualenvs-in-project: true
- 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
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- name: Run tests
run: make test_no_mock
- name: Upload coverage
uses: codecov/codecov-action@v2