Skip to content

Commit b17d747

Browse files
author
jhengy
committed
Correct jobs under ci.yml
1 parent 06c52d0 commit b17d747

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
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
2731
- name: Run tests
2832
run: pytest tests/ -v --cov=content_aggregator --cov-report=xml
2933
- name: Upload coverage
@@ -36,7 +40,6 @@ jobs:
3640
if: github.event_name == 'push'
3741
name: Test on Main Commit
3842
runs-on: ubuntu-latest
39-
needs: test-on-pr
4043
steps:
4144
- uses: actions/checkout@v4
4245
- uses: actions/setup-python@v4
@@ -45,10 +48,16 @@ jobs:
4548
- name: Install dependencies
4649
run: |
4750
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
4958
- name: Run security checks
5059
run: |
5160
bandit -r src/content_aggregator
5261
safety check
5362
- name: Run type checks
54-
run: mypy src/content_aggregator
63+
run: mypy src/content_aggregator

0 commit comments

Comments
 (0)