Skip to content

Remove cache in actions/setup-node #9

Remove cache in actions/setup-node

Remove cache in actions/setup-node #9

Workflow file for this run

name: Run tests and checks
on:
# Make workflow callable.
workflow_call:
pull_request:
types: [opened, synchronize, reopened]
env:
PYTHON_VERSION: "3.11"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Install Task
uses: arduino/setup-task@v1
- name: Install Python dependencies
run: task install
- name: Run Pytest
run: task test
- name: Run formatters in check mode
run: task format:check