Skip to content

chore(deps): pin and update dependencies (#73) #111

chore(deps): pin and update dependencies (#73)

chore(deps): pin and update dependencies (#73) #111

Workflow file for this run

name: Run Tests
on:
# tests can be called from other workflows
workflow_call:
# always run tests for every push to master
push:
branches: [master]
# always run tests for every PR
pull_request:
branches: [master]
jobs:
pre-commit:
name: Run code checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.13.1
- uses: pre-commit/[email protected]
unittest:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.13.1
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.8.4
- name: Install dependencies
run: poetry install --no-dev
- name: Run unit tests
run: poetry run python -m unittest discover