Skip to content

Commit

Permalink
Update build_run_linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kzscisoft authored Jan 23, 2025
1 parent 75f5995 commit b55cfd0
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/build_run_linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Power Balance Models Ubuntu
on: [push]
on:
push:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test_modelica_build:
container:
Expand Down Expand Up @@ -37,13 +44,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-24.04]
python-version: [ '3.11', '3.10', '3.12', '3.13' ]
python-version: [ '3.11', '3.12', '3.13' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python {{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "{{ matrix.python-version }}"
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: python3 -m pip install poetry
- name: Build Module
Expand Down Expand Up @@ -94,14 +101,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-24.04]
python-version: [ '3.11', '3.10', '3.12' ]
python-version: [ '3.11', '3.12', '3.13' ]
needs: [test_module_build]
steps:
- uses: actions/checkout@v4
- name: Set up Python {{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "{{ matrix.python-version }}"
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: python3 -m pip install poetry
- name: Run Models
Expand All @@ -125,14 +132,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-24.04]
python-version: [ '3.11', '3.10', '3.12' ]
python-version: [ '3.11', '3.12', '3.13' ]
needs: [test_module_build]
steps:
- uses: actions/checkout@v4
- name: Set up Python {{ matrix.python-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "{{ matrix.python-version }}"
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: python3 -m pip install poetry
- name: Run Regression Tests
Expand All @@ -156,10 +163,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-24.04]
python-version: [ '3.11', '3.10', '3.12' ]
python-version: [ '3.11', '3.12', '3.13' ]
needs: [test_module_build]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: python3 -m pip install poetry
- name: Run Unit Tests
Expand Down

0 comments on commit b55cfd0

Please sign in to comment.