Skip to content

Commit f3f68fb

Browse files
committed
updats CI
1 parent 51c0a78 commit f3f68fb

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

Diff for: .github/file-filters.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This is used by the action https://github.com/dorny/paths-filter
2+
docker: &docker
3+
- added|modified: './docker/**/*'
4+
- added|modified: './docker/*'
5+
6+
dependencies: &dependencies
7+
- 'pdm.lock'
8+
- 'pyproject.toml'
9+
10+
actions: &actions
11+
- added|modified: './.github/**/*'
12+
13+
python: &python
14+
- added|modified: 'src/**'
15+
- added|modified: 'tests/**'
16+
- 'manage.py'
17+
18+
changelog:
19+
- added|modified: 'changes/**'
20+
- 'CHANGELOG.md'
21+
22+
mypy:
23+
- *python
24+
- 'mypy.ini'
25+
26+
run_tests:
27+
- *actions
28+
- *python
29+
- *docker
30+
- *dependencies
31+
- 'pytest.ini'
32+
33+
migrations:
34+
- added|modified: 'src/**/migrations/*'
35+
36+
lint:
37+
- *python
38+
- '.flake8'
39+
- 'pyproject.toml'
40+
41+
docs:
42+
- added|modified: './docs/**/*'
43+
- modified: './src/birder/config/__init__.py'
44+
- modified: './github/workflows/docs.yml'
45+
- modified: './github/file-filters.yml'

Diff for: .github/workflows/tests.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ on:
88
pull_request:
99

1010
jobs:
11+
pkg_meta:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-python@v2
16+
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip tox
20+
- name: Lint with flake8
21+
run: |
22+
tox -e pkg_meta
1123
lint:
1224
runs-on: ubuntu-latest
1325
steps:

0 commit comments

Comments
 (0)