Update megamock to version that indicates typing used #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |