mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2024-11-24 08:22:12 +02:00
84640e8eee
* updated the CI/CD workflow so it works * fixing typos * changed the branch name for the CI pull request * fixing PEP8 issues inside binary_search.py * removed venv from flask8 local testing * fixing executable permissions
18 lines
437 B
YAML
18 lines
437 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install flake8
|
|
run: pip install flake8
|
|
- name: Give executable permissions to run_ci.sh inside the scripts directory
|
|
run: chmod a+x scripts/run_ci.sh
|
|
- name: Run the ci script inside the scripts folder
|
|
run: sh scripts/run_ci.sh
|
|
shell: bash |