Skip to content

Commit 87a12ba

Browse files
committed
💚 Fix invalid GH variables in CI
1 parent c649928 commit 87a12ba

File tree

3 files changed

+16
-18
lines changed

3 files changed

+16
-18
lines changed

.github/workflows/build_run_linux.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install UV
4444
run: python3 -m pip install uv
4545
- name: Build Module
46-
run: uv run -p {{ matrix.python-version }} powerbalance generate-profiles
46+
run: uv run -p ${{ matrix.python-version }} powerbalance generate-profiles
4747
- name: Archive Plasma Profiles
4848
uses: actions/upload-artifact@v4
4949
with:
@@ -94,8 +94,8 @@ jobs:
9494
run: python3 -m pip install uv
9595
- name: Run Models
9696
run: |
97-
uv run -p {{ matrix.python-version }} powerbalance install-msl
98-
uv run -p {{ matrix.python-version }} coverage run --source=power_balance --data-file=coverage_default -m pytest tests/scenarios
97+
uv run -p ${{ matrix.python-version }} powerbalance install-msl
98+
uv run -p ${{ matrix.python-version }} coverage run --source=power_balance --data-file=coverage_default -m pytest tests/scenarios
9999
- name: Archive Run Coverage
100100
uses: actions/upload-artifact@v4
101101
if: ${{ github.ref_name == 'main' }}
@@ -120,8 +120,8 @@ jobs:
120120
run: python3 -m pip install uv
121121
- name: Run Regression Tests
122122
run: |
123-
uv run -p {{ matrix.python-version }} powerbalance install-msl
124-
uv run -p {{ matrix.python-version }} coverage run --source=power_balance --data-file=coverage_regression -m pytest tests/regression_tests
123+
uv run -p ${{ matrix.python-version }} powerbalance install-msl
124+
uv run -p ${{ matrix.python-version }} coverage run --source=power_balance --data-file=coverage_regression -m pytest tests/regression_tests
125125
- name: Archive Run Coverage
126126
uses: actions/upload-artifact@v4
127127
if: ${{ github.ref_name == 'main' }}
@@ -146,8 +146,8 @@ jobs:
146146
run: python3 -m pip install uv
147147
- name: Run Unit Tests
148148
run: |
149-
uv run -p {{ matrix.python-version }} powerbalance install-msl
150-
uv run -p {{ matrix.python-version }} coverage run --data-file=coverage_unit --source=power_balance -m pytest tests/unit_tests
149+
uv run -p ${{ matrix.python-version }} powerbalance install-msl
150+
uv run -p ${{ matrix.python-version }} coverage run --data-file=coverage_unit --source=power_balance -m pytest tests/unit_tests
151151
- name: Archive Run Coverage
152152
uses: actions/upload-artifact@v4
153153
if: ${{ github.ref_name == 'main' }}

.github/workflows/quality_control.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ jobs:
99
- name: Set up Python
1010
uses: actions/setup-python@v5
1111
with:
12-
python-version: "3.12"
13-
- name: Install Poetry
14-
run: python -m pip install poetry
12+
python-version: "3.13"
13+
- name: Install Mypy
14+
run: python -m pip install mypy
1515
- name: Run Mypy
16-
run: |
17-
poetry install
18-
poetry run mypy --check-untyped-defs power_balance/
16+
run: mypy --check-untyped-defs power_balance/
1917
modelica_syntax_validation:
2018
name: Modelica Syntax Checking
2119
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: '3.12'
23-
- name: Install Poetry
24-
run: python -m pip install poetry
22+
python-version: '3.13'
23+
- name: Install UV
24+
run: python -m pip install uv
2525
- name: Check Citation File
2626
run: |
2727
python3 -m pip install -r <(curl -s https://raw.githubusercontent.com/citation-file-format/citation-file-format/main/requirements.txt)
2828
python3 <(curl -s https://raw.githubusercontent.com/citation-file-format/citation-file-format/main/examples/validator.py) \
2929
-d ${GITHUB_WORKSPACE}/CITATION.cff \
3030
-s <(curl -s https://raw.githubusercontent.com/citation-file-format/citation-file-format/main/schema.json)
3131
- name: Install Module
32-
run: poetry install
32+
run: uv venv
3333
- name: Build Module
34-
run: poetry build
34+
run: uv build
3535
- name: Create Release
3636
uses: softprops/action-gh-release@v2
3737
with:

0 commit comments

Comments
 (0)