Skip to content

Merge pull request #13 from simple-repository/feature/gh-workflow #2

Merge pull request #13 from simple-repository/feature/gh-workflow

Merge pull request #13 from simple-repository/feature/gh-workflow #2

Workflow file for this run

name: Python application
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install .[dev] mypy
- name: Type check
run: |
python -m mypy ./simple_repository_server
- name: Test with pytest
run: |
python -m pytest ./simple_repository_server