Skip to content

Commit

Permalink
ci: add a scheduled workflow run
Browse files Browse the repository at this point in the history
  • Loading branch information
elmomoilanen committed Feb 24, 2024
1 parent ad37c7c commit 6ff640b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
paths-ignore: [ "docs/**" ]
branches: [ main ]
schedule:
- cron: '45 18 3 * *'

jobs:
tests:
Expand All @@ -21,7 +23,7 @@ jobs:
shell: bash

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -42,7 +44,6 @@ jobs:

- name: Lint with flake8
run: |
# Stop if there are Python syntax errors or undefined names
poetry run flake8 ./sampdist/* \
--count --select=E9,F63,F7,F82 --show-source --statistics
poetry run flake8 ./sampdist/* --max-line-length=100 \
Expand Down

0 comments on commit 6ff640b

Please sign in to comment.