forked from IntersectMBO/cardano-node-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (50 loc) · 1.73 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
41
42
43
44
45
46
47
48
49
50
51
52
53
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