Skip to content

Commit

Permalink
fix executable bit
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Aug 19, 2024
1 parent ae5f884 commit 23a2f23
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Install and run pylint
run: |
pip install pylint .
pylint power_grid_model
pylint power_grid_model_io_native
git restore README.md
- name: Install and run clang-format
Expand All @@ -69,7 +69,6 @@ jobs:
- name: If needed raise error
run: |
if [[ `git status --porcelain --untracked-files=no` ]]; then
echo "Formatting not correct! See below the files which need to be reformatted!"
git status --porcelain --untracked-files=no
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ on:
target:
type: choice
description: The CMake target to run
default: power_grid_model_c
default: power_grid_model_io_native_c
options:
- all
- power_grid_model_c
- power_grid_model_io_native_c
required: true

concurrency:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Set build target in case of push
if: github.event_name != 'workflow_dispatch'
run: |
echo "TARGET=power_grid_model_c" >> $GITHUB_ENV
echo "TARGET=power_grid_model_io_native_c" >> $GITHUB_ENV
- name: Set build target in case of workflow dispatch
if: github.event_name == 'workflow_dispatch'
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,6 @@ jobs:
# install
cmake --build --preset ${{ env.PRESET }} --verbose -j 1 --target install; if(!$?) { Exit $LASTEXITCODE }
# build and run integration test
cd tests/package_tests; if(!$?) { Exit $LASTEXITCODE }
cmake --preset ${{ env.PRESET }}; if(!$?) { Exit $LASTEXITCODE }
cmake --build --preset ${{ env.PRESET }} --verbose -j 1; if(!$?) { Exit $LASTEXITCODE }
cmake --build --preset ${{ env.PRESET }} --verbose -j 1 --target install; if(!$?) { Exit $LASTEXITCODE }
install\${{ env.PRESET }}\bin\power_grid_model_package_test; if(!$?) { Exit $LASTEXITCODE }
build-cpp-test-macos:
runs-on: macos-14
strategy:
Expand All @@ -169,7 +162,7 @@ jobs:
brew install ninja boost eigen nlohmann-json msgpack-cxx doctest
- name: Build and test
run: ./build.sh -p ${{ env.PRESET }} -e -i -t
run: ./build.sh -p ${{ env.PRESET }} -i

build-and-test-python:
strategy:
Expand Down
Empty file modified build.sh
100644 → 100755
Empty file.
Empty file modified llvm-gcov.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion set_pypi_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def set_version(pkg_dir: Path):
def get_pypi_latest():
r = requests.get("https://pypi.org/pypi/power-grid-model-io-native/json")
data = r.json()
version: str = data["info"]["version"]
version: str = data.get("info", {}).get("version", "0.0.1")
return (int(x) for x in version.split("."))


Expand Down

0 comments on commit 23a2f23

Please sign in to comment.