Test nightly #563
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Regular tests against the current Flake8 main branch. | |
name: Test nightly | |
on: | |
schedule: | |
# Every day at 1 a.m. | |
- cron: '0 1 * * *' | |
jobs: | |
flake8_main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v4 | |
- name: Set up latest stable Python. | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install current Flake8 main branch. | |
run: pip install git+https://github.com/PyCQA/flake8.git | |
- name: Install project. | |
run: pip install .[dev] | |
- name: Run tests. | |
run: pytest |