-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 897 Bytes
/
pull_request.yml
File metadata and controls
29 lines (26 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
jobs:
lint:
container: ghcr.io/elimity-com/insights-client-python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: /root/.local/bin/poetry install
- run: /root/.local/bin/poetry run black --check .
- run: /root/.local/bin/poetry run flake8
- run: /root/.local/bin/poetry run isort -c .
- run: /root/.local/bin/poetry run mypy .
- run: /root/.local/bin/poetry run pydocstyle
lock:
container: ghcr.io/elimity-com/insights-client-python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: /root/.local/bin/poetry lock --check
test:
container: ghcr.io/elimity-com/insights-client-python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: /root/.local/bin/poetry install
- run: /root/.local/bin/poetry run python -m unittest
on: pull_request