Skip to content

Commit 7357462

Browse files
authored
Merge pull request #1 from chriskuehl/ci
Add CI
2 parents 1814385 + 6434722 commit 7357462

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
on: push
3+
jobs:
4+
build-and-test:
5+
runs-on: ubuntu-22.04
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-python@v2
9+
with:
10+
python-version: '3.10'
11+
- name: Install dependencies
12+
run: |
13+
pip install poetry
14+
poetry install
15+
- name: Run tests
16+
run: |
17+
poetry run coverage run -m pytest tests
18+
poetry run coverage report
19+
- name: Run type checking
20+
run: poetry run mypy pypi_browser

0 commit comments

Comments
 (0)