Skip to content

gha: processing box files #10

gha: processing box files

gha: processing box files #10

Workflow file for this run

name: Process Box
on:
push:
branches: [ main ]
pull_request: {}
jobs:
process-box-files:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install requirements
run: |
pip3 install networkx
pip3 install matplotlib
- name: Process CSV files
run: |
# copy up one dir so imports work
cp gha/process-box.py .
python process-box.py
- name: Package artifacts
run: |
zip -r ot-figures.zip gha/out/ot-figures/
- name: Upload OT figures
uses: actions/upload-artifact@v4
with:
name: OT-figures
path: gha/out/ot-figures/*.zip
- name: Upload OT events file
uses: actions/upload-artifact@v4
with:
name: OT-events
path: gha/out/ot-events.csv