Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI to check that version have been updated #37

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
# - ubuntu-22.04
# - test python linter
#
# - update-version
# - ubuntu-22.04
# - check version have been updated
#
# TODO: when merge CI in eprosima-CI repository, the jparisu fork must change for eProsima in actions.
#
# TODO: Add Windows CI
Expand Down Expand Up @@ -288,3 +292,17 @@ jobs:

- name: Python Linter
uses: eProsima/eProsima-CI/ubuntu/python_linter@v0


#####################################################################
# UPDATE VERSION

update-version:
runs-on: ubuntu-22.04
steps:

- name: Version updated
if: "! contains(github.event.pull_request.labels.*.name, 'no version update required')"
uses: eProsima/eProsima-CI/ubuntu/check_version_update@feature/versions-update
with:
version-file-path: docs/rst/notes/forthcoming_version.rst
6 changes: 5 additions & 1 deletion docs/rst/notes/forthcoming_version.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@

.. add orphan tag when new info added to this file

:orphan:
.. :orphan:

###################
Forthcoming Version
###################

This release includes the following minor **CI features** :

- Check version is updated with every Pull Request
3 changes: 2 additions & 1 deletion docs/rst/notes/notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ Notes

..
TODO uncomment when there are forthcoming notes
.. include:: forthcoming_version.rst

.. include:: forthcoming_version.rst

Version v0.1.0
==============
Expand Down