Skip to content

chore(main): release 1.1.2 #5

chore(main): release 1.1.2

chore(main): release 1.1.2 #5

Workflow file for this run

name: Run pytest
on:
push:
branches:
- main
- master
paths:
- '**.py'
pull_request:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.x'
- name: Cache pip packages
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip pytest
pip install -r requirements.txt
- name: Run pytest
run: pytest