Skip to content

pre-commit check fix for end of line fixer #2

pre-commit check fix for end of line fixer

pre-commit check fix for end of line fixer #2

Workflow file for this run

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Install cheader2json
run: |
pip install .
- name: Test on a header file
run: |
wget https://github.com/GMLC-TDC/HELICS/releases/download/v3.5.0/Helics-shared-3.5.0-Linux-x86_64.tar.gz
tar xvf Helics-shared-3.5.0-Linux-x86_64.tar.gz
cheader2json convert Helics-3.5.0-Linux-x86_64/include/helics/helics.h
- uses: actions/upload-artifact@v4
with:
path: "*.json"