-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.26 KB
/
node_mainnet_tx_count_per_epoch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: mainnet_tx_count_per_epoch
on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
jobs:
mainnet_tx_count_per_epoch:
runs-on: ubuntu-latest
steps:
- name: Checkout cardano-sync-tests repo
uses: actions/checkout@v4
with:
path: cardano_sync_tests
ref: ${{ github.ref_name }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Python libraries
run: |
pip install requests
pip install psutil
pip install pandas
pip install pymysql
pip install blockfrost-python
pip install colorama
- 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_sync_tests
echo "current branch: $(git branch --show-current)"
python sync_tests/node_write_mainnet_tx_count_per_epoch.py