Skip to content

Execute AlgoPing Analytics #606

Execute AlgoPing Analytics

Execute AlgoPing Analytics #606

Workflow file for this run

name: Execute AlgoPing Analytics
on:
schedule:
- cron: "5 0 * * *"
workflow_dispatch:
jobs:
run-algoping-analytics:
env:
BEARER_TOKEN: ${{ secrets.BEARER_TOKEN }}
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }}
CONSUMER_SECRET: ${{ secrets.CONSUMER_SECRET }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }}
BITQUERY_API_KEY: ${{ secrets.BITQUERY_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NOTIBOY_API_KEY: ${{ secrets.NOTIBOY_API_KEY }}
NOTIBOY_USER_ADDRESS: ${{ secrets.NOTIBOY_USER_ADDRESS }}
NOTIBOY_APP_ID: ${{ secrets.NOTIBOY_APP_ID }}
name: Run AlgoPing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.10.8
- name: Set up Poetry
uses: abatilo/actions-poetry@v3.0.0
with:
poetry-version: 1.8.3
- name: Install python dependencies
run: poetry install
- uses: pre-commit/action@v3.0.0
name: "Linters and formatters check"
with:
extra_args: --all-files --show-diff-on-failure
- name: Run AlgoPing Analytics
run: PYTHONPATH="." poetry run python src/analytics.py