Skip to content

Update exception raised #153

Update exception raised

Update exception raised #153

Workflow file for this run

name: Run tests
on: push
jobs:
pytest:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.9]
steps:
- name: Create .taiga directory
run: |
mkdir ~/.taiga
echo ${{ secrets.TAIGA_TOKEN }} > ~/.taiga/token
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
version: 1.4.2
virtualenvs-create: true
virtualenvs-in-project: true
- name: Set up cache
uses: actions/cache@v2
id: cached-poetry-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
- name: Run pytest
run: poetry run pytest