Skip to content

Commit 556d7db

Browse files
authored
Merge pull request #5 from opencollector/feat/ci
CI
2 parents 470e247 + ca232cd commit 556d7db

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
branches:
4+
5+
jobs:
6+
test:
7+
name: Test and lint sources
8+
runs-on: ubuntu-latest
9+
container:
10+
image: python:3.11
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up environment
15+
run: |
16+
set -o xtrace -o errexit
17+
pip install -e .[dev]
18+
19+
- name: Linting
20+
run: |
21+
set -o xtrace -o errexit
22+
black --check src
23+
flake8 src
24+
mypy src

0 commit comments

Comments
 (0)