diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml new file mode 100644 index 0000000..889e97c --- /dev/null +++ b/.github/workflows/code-coverage.yml @@ -0,0 +1,14 @@ +name: Code Coverage + +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + call_reusable_workflow: + uses: vortexntnu/vortex-ci/.github/workflows/reusable-code-coverage.yml@main + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/industrial-ci.yml b/.github/workflows/industrial-ci.yml new file mode 100644 index 0000000..4b7d008 --- /dev/null +++ b/.github/workflows/industrial-ci.yml @@ -0,0 +1,13 @@ +name: Industrial CI + +on: + push: + workflow_dispatch: + schedule: + - cron: '0 1 * * *' # Runs daily + +jobs: + call_reusable_workflow: + uses: vortexntnu/vortex-ci/.github/workflows/reusable-industrial-ci.yml@main + with: + ros_repo: '["main", "testing"]' diff --git a/.releaserc b/.releaserc deleted file mode 100644 index 7bf05ec..0000000 --- a/.releaserc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "branches": ["main"], - "plugins": [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - "@semantic-release/github" - ] -} diff --git a/README.md b/README.md index 2482b49..249528d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # Introduction +[![Industrial CI](https://github.com/vortexntnu/vortex-utils/actions/workflows/industrial-ci.yml/badge.svg)](https://github.com/vortexntnu/vortex-utils/actions/workflows/industrial-ci.yml) +[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/vortexntnu/vortex-utils/main.svg)](https://results.pre-commit.ci/latest/github/vortexntnu/vortex-utils/main) +[![codecov](https://codecov.io/github/vortexntnu/vortex-utils/graph/badge.svg?token=d6D7d5xNdf)](https://codecov.io/github/vortexntnu/vortex-utils) ``` TODO: Write a simple description / introduction to the repository diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..9a9c84b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,15 @@ +coverage: + precision: 2 + round: down + status: + project: + default: + informational: true + flags: + - unittests + patch: off +fixes: + - "ros_ws/src/vortex_utils/::" +comment: + layout: "diff, flags, files" + behavior: default diff --git a/package.xml b/package.xml index f01450e..11a3e18 100644 --- a/package.xml +++ b/package.xml @@ -11,7 +11,10 @@ ament_cmake_python eigen + python3-numpy + python3-scipy + ament_cmake_pytest ament_cmake