Delete .github/workflows/ci.yaml
Browse files- .github/workflows/ci.yaml +0 -49
.github/workflows/ci.yaml
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
name: CI
|
2 |
-
|
3 |
-
on:
|
4 |
-
push:
|
5 |
-
branches: [main]
|
6 |
-
pull_request:
|
7 |
-
branches: [main]
|
8 |
-
paths-ignore:
|
9 |
-
- "README.md"
|
10 |
-
|
11 |
-
jobs:
|
12 |
-
test:
|
13 |
-
runs-on: ubuntu-latest
|
14 |
-
strategy:
|
15 |
-
matrix:
|
16 |
-
python-version: ["3.9", "3.10"]
|
17 |
-
|
18 |
-
steps:
|
19 |
-
- uses: actions/checkout@v3
|
20 |
-
|
21 |
-
- name: Set up Python ${{ matrix.python-version }}
|
22 |
-
uses: actions/setup-python@v4
|
23 |
-
with:
|
24 |
-
python-version: ${{ matrix.python-version }}
|
25 |
-
|
26 |
-
- name: Install dependencies
|
27 |
-
run: |
|
28 |
-
pip install -U pip setuptools wheel poetry
|
29 |
-
poetry install
|
30 |
-
|
31 |
-
- name: Format
|
32 |
-
run: |
|
33 |
-
poetry run black --check .
|
34 |
-
|
35 |
-
- name: Lint
|
36 |
-
run: |
|
37 |
-
poetry run ruff .
|
38 |
-
|
39 |
-
- name: Type check
|
40 |
-
run: |
|
41 |
-
poetry run mypy . \
|
42 |
-
--ignore-missing-imports \
|
43 |
-
--no-strict-optional \
|
44 |
-
--no-site-packages \
|
45 |
-
--cache-dir=/dev/null
|
46 |
-
|
47 |
-
- name: Run tests
|
48 |
-
run: |
|
49 |
-
poetry run pytest --color=yes -rf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|