run snrt.sh #4203
This file contains hidden or 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: run snrt.sh | |
| on: | |
| schedule: | |
| - cron: '*/15 * * * *' # Runs in every 5 minutes | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pwd | |
| cd ./platforms/ | |
| pip3 install -r requirements.txt | |
| pip3 install beautifulsoup4 | |
| - name: execute py script | |
| run: | | |
| pwd | |
| cd ./platforms/ | |
| bash snrt.sh | |
| #python3 snrt_test.py | |
| - name: commit and push files | |
| run: | | |
| git config --local user.email "" | |
| git config --local user.name "Stream Ninja 🥷🏽" | |
| git add -A | |
| git commit -m "updated streams" | |
| git push |