Skip to content

Commit

Permalink
make workflow succesful
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-alliander committed Sep 1, 2023
1 parent 59453d9 commit 45be4fe
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
if: ${{ ! inputs._SKIP_QUALITY }}
run: bash ./scripts/check_indent_rdf.sh

- name: check licences
run: reuse lint

- name: poetry build pycgmes
run: poetry build

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ permissions:
packages: read

jobs:
code-check:
uses: Alliander/ospo-workflows/.github/workflows/code-check.yml@main
secrets: inherit

build:
uses: ./.github/workflows/_core.yaml
with:
Expand Down
172 changes: 167 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ bandit = { extras = ["toml"], version = "*" } # Security checks
black = "*" # Formatter
coverage = { extras = ["toml"], version = "*" } # unit test coverage
mypy = "*" # Type checker
reuse = "*" # Check licence headers
ruff = "*" # Linter/fixer. Replaces isort and autoflake, eventually probably pylint as well.
pylint = "*" # Linter
pytest = "*"
Expand Down
1 change: 1 addition & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0


class TestInit:
def test_version_given(self):
# I just want to know that the version has been given.
Expand Down

0 comments on commit 45be4fe

Please sign in to comment.