Skip to content

#24 Move the pid file to the temp folder #54

#24 Move the pid file to the temp folder

#24 Move the pid file to the temp folder #54

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Pull Requests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
# services:
# postgres:
# image: postgres:12.2
# env:
# POSTGRES_HOST_AUTH_METHOD: trust
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Setup Poetry
# You may pin to the exact commit or the version.
uses: Gr1N/setup-poetry@12c727a3dcf8c1a548d8d041c9d5ef5cebb3ba2e
- name: test
uses: ./.github/actions/test
- name: lint using ruff
run: poetry run ruff pytest_hot_reloading tests
- name: lint using mypy
run: poetry run mypy pytest_hot_reloading tests