CI #184
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '17 3 * * 0' | |
jobs: | |
flake8: | |
name: Flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- | |
uses: actions/setup-python@v4 | |
with: | |
# matches compat target in setup.py | |
python-version: '3.8' | |
- name: "Main Script" | |
run: | | |
curl -L -O https://tiker.net/ci-support-v0 | |
. ./ci-support-v0 | |
print_status_message | |
clean_up_repo_and_working_env | |
create_and_set_up_virtualenv | |
cd .. | |
cp compyte/setup.cfg . | |
install_and_run_flake8 compyte/*.py |