Skip to content

Bump JRubics/poetry-publish from 2.0 to 2.1 #8

Bump JRubics/poetry-publish from 2.0 to 2.1

Bump JRubics/poetry-publish from 2.0 to 2.1 #8

Workflow file for this run

name: pytest
on:
# push:
# branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: actions/cache@v3
id: cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.*') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pytest
run: |
pytest