Skip to content

Commit

Permalink
Merge pull request #13 from simple-repository/feature/gh-workflow
Browse files Browse the repository at this point in the history
Add a rudimentary workflow
  • Loading branch information
pelson authored Sep 10, 2024
2 parents e384225 + 0c906b7 commit 74fe02f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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

0 comments on commit 74fe02f

Please sign in to comment.