CI #1085
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: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
tags: | |
description: 'Test scenario tags' | |
schedule: | |
- cron: '0 18 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.6' | |
- name: check channels and update readme | |
run: | | |
pip install pandas jinja2 | |
python ./scripts/check.py . | |
./build.sh --stats 30 | |
chmod +x ./scripts/readme.sh && ./scripts/readme.sh | |
chmod +x ./scripts/missed_channels.sh && ./scripts/missed_channels.sh | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add . | |
git commit -m "check channels and update readme" -a || echo "Nothing to commit" | |
git pull -X Ours --no-rebase | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.PAT }} |