Skip to content

ci: 📍 Pin CID to ipns #61

ci: 📍 Pin CID to ipns

ci: 📍 Pin CID to ipns #61

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: pip
- name: Install dependencies
run: |
pip install -e .
- name: Run
run: |
make run
- name: Export Database and Log File Sizes
run: |
python -c 'from ggdp import db; db.export_database_to_parquet("data/local.duckdb", "tables");'
echo "Files exported:" >> $GITHUB_STEP_SUMMARY
{
echo "| Filename | File Size |"
echo "| --- | --- |"
ls -lh tables | tail -n +2 | awk '{printf "| %s | %s |\n", $9, $5}'
} >> $GITHUB_STEP_SUMMARY
ls -lh tables