2021-11-24 06:39:14 +01:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2022-06-27 09:20:27 +02:00
|
|
|
branches: [ master ]
|
2021-11-24 06:39:14 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-06-27 09:20:27 +02:00
|
|
|
- uses: actions/checkout@v3
|
2021-11-24 06:39:14 +01:00
|
|
|
- name: Install flake8
|
2022-06-27 09:20:27 +02:00
|
|
|
run: pip install flake8
|
|
|
|
- name: Give executable permissions to run_ci.sh inside the scripts directory
|
2021-11-24 06:39:14 +01:00
|
|
|
run: chmod a+x scripts/run_ci.sh
|
2022-06-27 09:20:27 +02:00
|
|
|
- name: Run the ci script inside the scripts folder
|
2021-11-24 06:39:14 +01:00
|
|
|
run: sh scripts/run_ci.sh
|
2022-06-27 09:20:27 +02:00
|
|
|
shell: bash
|