feat: ⚡️ render Quarto on CI #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
make 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 | |
- name: Install Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
- name: Render | |
run: | | |
make render |