Skip to content

Bump vue-tsc from 1.8.27 to 2.0.22 in /frontend #352

Bump vue-tsc from 1.8.27 to 2.0.22 in /frontend

Bump vue-tsc from 1.8.27 to 2.0.22 in /frontend #352

Workflow file for this run

name: Tests
on:
pull_request:
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Load cached Poetry installation
id: cached-poetry
uses: actions/cache@v4
with:
path: ~/.local
key: poetry-0
- name: Load cached env
id: cached-env
uses: actions/cache@v4
with:
path: /home/runner/.cache/pypoetry/virtualenvs
key: venv-0
- name: Install Poetry
if: steps.cached-poetry.outputs.cache-hit != 'true'
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Run tests for PR
env:
PYTHONDONTWRITEBYTECODE: 1
run: |
poetry install
poetry run pytest --cov-config=.coveragerc --cov=.
poetry run coverage xml
- name: Get Cover
if: github.event_name == 'pull_request'
uses: orgoro/[email protected]
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
thresholdAll: 0.98
- name: Run tests
if: github.event_name != 'pull_request'
run: |
poetry run coverage report