Skip to content

Add rss source for Jason Fried blog #26

Add rss source for Jason Fried blog

Add rss source for Jason Fried blog #26

Workflow file for this run

name: CI Pipeline
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-on-pr:
if: github.event_name == 'pull_request'
name: Test on Pull Request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e '.[dev]'
# - name: Install Playwright browsers
# run: |
# playwright install chromium
# playwright install-deps
- name: Run tests
run: pytest tests/ -v -m "not external" --cov=content_aggregator --cov-report=xml
# - name: Upload coverage
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: ./coverage.xml
test-on-main:
if: github.event_name == 'push'
name: Test on Main Commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e '.[dev]'
# - name: Install Playwright browsers
# run: |
# playwright install chromium
# playwright install-deps
- name: Run tests
run: pytest tests/ -v -m "not external"
- name: Run type checks
continue-on-error: true
run: mypy src/content_aggregator
- name: Run security checks
continue-on-error: true
run: |
bandit -r src/content_aggregator
safety check