Skip to content

Commit c722b13

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install -e '.[test]'
26+
pip install -e '.[dev]'
2727
- name: Run tests
2828
run: pytest tests/ -v --cov=content_aggregator --cov-report=xml
2929
- name: Upload coverage
@@ -36,7 +36,6 @@ jobs:
3636
if: github.event_name == 'push'
3737
name: Test on Main Commit
3838
runs-on: ubuntu-latest
39-
needs: test-on-pr
4039
steps:
4140
- uses: actions/checkout@v4
4241
- uses: actions/setup-python@v4
@@ -45,10 +44,12 @@ jobs:
4544
- name: Install dependencies
4645
run: |
4746
python -m pip install --upgrade pip
48-
pip install -e '.[test]'
47+
pip install -e '.[dev]'
48+
- name: Run tests
49+
run: pytest tests/ -v
4950
- name: Run security checks
5051
run: |
5152
bandit -r src/content_aggregator
5253
safety check
5354
- name: Run type checks
54-
run: mypy src/content_aggregator
55+
run: mypy src/content_aggregator

0 commit comments

Comments
 (0)