Skip to content

gha: process box files #11

gha: process box files

gha: process box files #11

Workflow file for this run

name: Process Box
on:
push:
branches: [ main ]
pull_request: {}
jobs:
<<<<<<< Updated upstream

Check failure on line 9 in .github/workflows/box.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/box.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
read-data:
=======
process-box-files:
>>>>>>> Stashed changes
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'
<<<<<<< Updated upstream
cache: 'pip3'
run: pip3 install -r requirements.txt
- name: Process CSV files
run: |
python gha/process-box.py
=======
- 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/
>>>>>>> Stashed changes
- 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