Skip to content

Commit

Permalink
install modelica-json
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlWalther committed Dec 15, 2024
1 parent f95412f commit 7d249b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Workflow for CI testsname: CI-documentation-and-format# Controls when the action will run.on: # Triggers the workflow on push events but only for the master branch push: branches: [ add_CI_workflow ]# Allows you to run this workflow manually from the Actions tab# workflow_dispatch:defaults: run: shell: bash# A workflow run is made up of one or more jobs that can run sequentially or in paralleljobs: test-formatting: # Skip if the commit message contains "ci skip" #if: "!contains(github.event.head_commit.message, 'ci skip')" runs-on: ubuntu-22.04 steps: # Checks-out repository under $GITHUB_WORKSPACE, so job can access it - name: Checkout code uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.10.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: "Install pip" run: pip3 install --upgrade pip wheel - name: Download modelica-json-1.2.0.zip run: wget https://github.com/lbl-srg/modelica-json/releases/download/v1.2.0/modelica-json-1.2.0.zip -O modelica-json-1.2.0.zip - name: Unzip modelica-json-1.2.0.zip run: unzip modelica-json-1.2.0.zip -d modelica-json - name: Display folder structure run: tree modelica-json
# Workflow for CI testsname: CI-documentation-and-format# Controls when the action will run.on: # Triggers the workflow on push events but only for the master branch push: branches: [ add_CI_workflow ]# Allows you to run this workflow manually from the Actions tab# workflow_dispatch:defaults: run: shell: bash# A workflow run is made up of one or more jobs that can run sequentially or in paralleljobs: test-modelica-json: # Skip if the commit message contains "ci skip" #if: "!contains(github.event.head_commit.message, 'ci skip')" runs-on: ubuntu-22.04 steps: # Checks-out repository under $GITHUB_WORKSPACE, so job can access it - name: Checkout code uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.10.11' # Version range or exact version of a Python version to use, using SemVer's version range syntax architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: "Install pip" run: pip3 install --upgrade pip wheel - name: Download modelica-json-1.2.0.zip run: wget https://github.com/lbl-srg/modelica-json/releases/download/v1.2.0/modelica-json-1.2.0.zip -O modelica-json-1.2.0.zip - name: Unzip modelica-json-1.2.0.zip run: unzip modelica-json-1.2.0.zip -d modelica-json - name: Display folder structure run: tree - name: Set MODELICAPATH environment variable run: echo "export MODELICAPATH=\${MODELICAPATH}:/usr/local/Modelica/Library/" >> ~/.bashrc - name: Install Java dependencies run: sudo apt-get update && sudo apt-get install -y default-jdk default-jre - name: Install Node Version Manager (NVM) run: | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash source ~/.bashrc nvm install 18 - name: Install parser dependencies run: make install - name: Compile Java files run: make compile - name: Run test cases run: npm test
Expand Down

0 comments on commit 7d249b0

Please sign in to comment.