File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 23
23
- name : Install dependencies
24
24
run : |
25
25
python -m pip install --upgrade pip
26
- pip install -e '.[test]'
26
+ pip install -e '.[dev]'
27
+ - name : Install Playwright browsers
28
+ run : |
29
+ playwright install chromium
30
+ playwright install-deps
27
31
- name : Run tests
28
32
run : pytest tests/ -v --cov=content_aggregator --cov-report=xml
29
33
- name : Upload coverage
36
40
if : github.event_name == 'push'
37
41
name : Test on Main Commit
38
42
runs-on : ubuntu-latest
39
- needs : test-on-pr
40
43
steps :
41
44
- uses : actions/checkout@v4
42
45
- uses : actions/setup-python@v4
@@ -45,10 +48,16 @@ jobs:
45
48
- name : Install dependencies
46
49
run : |
47
50
python -m pip install --upgrade pip
48
- pip install -e '.[test]'
51
+ pip install -e '.[dev]'
52
+ - name : Install Playwright browsers
53
+ run : |
54
+ playwright install chromium
55
+ playwright install-deps
56
+ - name : Run tests
57
+ run : pytest tests/ -v
49
58
- name : Run security checks
50
59
run : |
51
60
bandit -r src/content_aggregator
52
61
safety check
53
62
- name : Run type checks
54
- run : mypy src/content_aggregator
63
+ run : mypy src/content_aggregator
You can’t perform that action at this time.
0 commit comments