Skip to content

Merge branch 'main' of https://github.com/timkicker/github-notificati… #3

Merge branch 'main' of https://github.com/timkicker/github-notificati…

Merge branch 'main' of https://github.com/timkicker/github-notificati… #3

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
python-checks:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8
- name: Syntax check
run: python -m compileall .
- name: Lint with flake8 (relaxed)
run: flake8 app.py --max-line-length=120 --ignore=E501,W391
docker-build:
runs-on: ubuntu-latest
needs: python-checks
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build Docker image
run: docker build . --tag github-notifications-rss:test