Skip to content

mainnet_tx_count_per_epoch #1034

mainnet_tx_count_per_epoch

mainnet_tx_count_per_epoch #1034

name: mainnet_tx_count_per_epoch
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
branches:
- sync_tests
jobs:
mainnet_tx_count_per_epoch:
if: github.repository_owner == 'IntersectMBO'
runs-on: ubuntu-latest
steps:
- name: checkout cardano-node-tests repo
uses: actions/checkout@v4
with:
path: cardano_node_tests
ref: sync_tests
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: install dependencies
run: |
pip install requests
pip install psutil
pip install pandas
pip install pymysql
pip install blockfrost-python
- name: checkout sync_tests repo
run: |
echo $PWD
echo "current branch: $(git branch --show-current)"
cd cardano_node_tests
git config --global user.name "sync_tests"
git config --global user.email "[email protected]"
echo "current branch1: $(git branch --show-current)"
git checkout sync_tests
echo "current branch2: $(git branch --show-current)"
- name: get the automated tests results
env:
BUILDKITE_API_ACCESS_TOKEN: ${{ secrets.BUILDKITE_API_ACCESS_TOKEN }}
AWS_DB_USERNAME: ${{ secrets.AWS_DB_USERNAME }}
AWS_DB_PASS: ${{ secrets.AWS_DB_PASS }}
AWS_DB_NAME: ${{ secrets.AWS_DB_NAME }}
AWS_DB_HOSTNAME: ${{ secrets.AWS_DB_HOSTNAME }}
BLOCKFROST_API_KEY: ${{ secrets.BLOCKFROST_API_KEY }}
run: |
cd cardano_node_tests
echo "current branch2: $(git branch --show-current)"
python sync_tests/node_write_mainnet_tx_count_per_epoch.py