-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix modelicafmt overriding CHANGELOG and README (#616)
* older version of r2m2 * remove r2m2 * remove r2m2 * 3.12.1 * rpds-py * do not use precommit action * do not extract readme and changelog from modelicafmt * add back in r2m2 * note
- Loading branch information
Showing
3 changed files
with
126 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
python-version: ["3.10", "3.12"] | ||
python-version: ["3.10", "3.12.1"] | ||
test_env: [python, docs, mypy] | ||
mbl_tag: [v10.0.0] | ||
exclude: | ||
|
@@ -52,7 +52,7 @@ jobs: | |
run: | | ||
RUNNER_SYSTEM=$(python -c 'import platform; print(platform.system())') | ||
curl -SLO "https://github.com/urbanopt/modelica-fmt/releases/download/v0.2-pr.2/modelica-fmt_0.2-pr.2_${RUNNER_SYSTEM}_x86_64.tar.gz" | ||
tar xzf modelica-fmt_0.2-pr.2_${RUNNER_SYSTEM}_x86_64.tar.gz | ||
tar --exclude='README.md' --exclude='CHANGELOG.md' -xzf modelica-fmt_0.2-pr.2_${RUNNER_SYSTEM}_x86_64.tar.gz | ||
chmod +x modelicafmt | ||
if [[ $RUNNER_SYSTEM == 'Linux' ]]; then | ||
sudo mv modelicafmt /usr/local/bin/ | ||
|
@@ -81,9 +81,7 @@ jobs: | |
if: matrix.test_env == 'python' && matrix.os == 'windows-latest' | ||
run: poetry run pytest tests --doctest-modules -v -m 'not simulation and not compilation and not dymola' | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --all-files | ||
run: poetry run pre-commit run --show-diff-on-failure --color=always --all-files | ||
- name: Run mypy | ||
if: matrix.test_env =='mypy' | ||
run: poetry run mypy --install-types --non-interactive --show-error-codes . | ||
|
Oops, something went wrong.