Skip to content

Commit

Permalink
Fix test CI
Browse files Browse the repository at this point in the history
Signed-off-by: Irene Bandera <irenebandera@eprosima.com>
  • Loading branch information
irenebm committed Nov 16, 2023
1 parent a0a57f5 commit d21902a
Show file tree
Hide file tree
Showing 3 changed files with 191 additions and 189 deletions.
236 changes: 118 additions & 118 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,121 +175,121 @@ jobs:
workspace_dependencies: './install'


#####################################################################
# CLANG

clang:
runs-on: ubuntu-22.04
steps:

- name: Sync repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src

- name: Download dependencies and install requirements
uses: ./src/.github/actions/project_dependencies
with:
os: ubuntu-22.04
cmake_build_type: Debug
dependencies_artifact_postfix: ${{ github.event.inputs.dependencies_artifact_postfix || env.default_dependencies_artifact_postfix }}
secret_token: ${{ secrets.GITHUB_TOKEN }}

- name: Compile and run tests
uses: eProsima/eProsima-CI/multiplatform/clang_build_test@v0
with:
packages_names: ${{ env.code_packages_names }}
workspace_dependencies: './install'


#####################################################################
# COVERAGE

coverage:
runs-on: ubuntu-22.04
environment:
name: codecov
steps:

- name: Sync repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src

- name: Download dependencies and install requirements
uses: ./src/.github/actions/project_dependencies
with:
os: ubuntu-22.04
cmake_build_type: Release
dependencies_artifact_postfix: ${{ github.event.inputs.dependencies_artifact_postfix || env.default_dependencies_artifact_postfix }}
secret_token: ${{ secrets.GITHUB_TOKEN }}

- name: Compile and run tests
uses: eProsima/eProsima-CI/ubuntu/coverage_build_test_upload@v0
with:
packages_names: ${{ env.code_packages_names }}
workspace_dependencies: './install'
codecov_token: ${{ secrets.CODECOV_TOKEN }}
codecov_fix_file_path: ./src/codecov.yml


#####################################################################
# FLAKY

flaky:
runs-on: ubuntu-22.04
steps:

- name: Sync repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src

- name: Download dependencies and install requirements
uses: ./src/.github/actions/project_dependencies
with:
os: ubuntu-22.04
cmake_build_type: Release
dependencies_artifact_postfix: ${{ github.event.inputs.dependencies_artifact_postfix || env.default_dependencies_artifact_postfix }}
secret_token: ${{ secrets.GITHUB_TOKEN }}

- name: Compile and run tests
uses: eProsima/eProsima-CI/multiplatform/colcon_build_test_flaky@v0
with:
packages_names: ${{ env.code_packages_names }}
workspace_dependencies: './install'


#####################################################################
# DOCUMENTATION TEST

docs:
runs-on: ubuntu-22.04
steps:
- name: Build and test documentation
uses: eProsima/eProsima-CI/ubuntu/sphinx_docs@v0
with:
docs_subpackage_name: ${{ env.docs_packages_names }}
secret_token: ${{ secrets.GITHUB_TOKEN }}


#####################################################################
# UNCRUSTIFY

uncrustify:
runs-on: ubuntu-22.04
steps:

- name: Uncrustify
uses: eProsima/eProsima-CI/ubuntu/uncrustify@v0


#####################################################################
# PYTHON LINTER

python-linter:
runs-on: ubuntu-22.04
steps:

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

# clang:
# runs-on: ubuntu-22.04
# steps:

# - name: Sync repository
# uses: eProsima/eProsima-CI/external/checkout@v0
# with:
# path: src

# - name: Download dependencies and install requirements
# uses: ./src/.github/actions/project_dependencies
# with:
# os: ubuntu-22.04
# cmake_build_type: Debug
# dependencies_artifact_postfix: ${{ github.event.inputs.dependencies_artifact_postfix || env.default_dependencies_artifact_postfix }}
# secret_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Compile and run tests
# uses: eProsima/eProsima-CI/multiplatform/clang_build_test@v0
# with:
# packages_names: ${{ env.code_packages_names }}
# workspace_dependencies: './install'


# #####################################################################
# # COVERAGE

# coverage:
# runs-on: ubuntu-22.04
# environment:
# name: codecov
# steps:

# - name: Sync repository
# uses: eProsima/eProsima-CI/external/checkout@v0
# with:
# path: src

# - name: Download dependencies and install requirements
# uses: ./src/.github/actions/project_dependencies
# with:
# os: ubuntu-22.04
# cmake_build_type: Release
# dependencies_artifact_postfix: ${{ github.event.inputs.dependencies_artifact_postfix || env.default_dependencies_artifact_postfix }}
# secret_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Compile and run tests
# uses: eProsima/eProsima-CI/ubuntu/coverage_build_test_upload@v0
# with:
# packages_names: ${{ env.code_packages_names }}
# workspace_dependencies: './install'
# codecov_token: ${{ secrets.CODECOV_TOKEN }}
# codecov_fix_file_path: ./src/codecov.yml


# #####################################################################
# # FLAKY

# flaky:
# runs-on: ubuntu-22.04
# steps:

# - name: Sync repository
# uses: eProsima/eProsima-CI/external/checkout@v0
# with:
# path: src

# - name: Download dependencies and install requirements
# uses: ./src/.github/actions/project_dependencies
# with:
# os: ubuntu-22.04
# cmake_build_type: Release
# dependencies_artifact_postfix: ${{ github.event.inputs.dependencies_artifact_postfix || env.default_dependencies_artifact_postfix }}
# secret_token: ${{ secrets.GITHUB_TOKEN }}

# - name: Compile and run tests
# uses: eProsima/eProsima-CI/multiplatform/colcon_build_test_flaky@v0
# with:
# packages_names: ${{ env.code_packages_names }}
# workspace_dependencies: './install'


# #####################################################################
# # DOCUMENTATION TEST

# docs:
# runs-on: ubuntu-22.04
# steps:
# - name: Build and test documentation
# uses: eProsima/eProsima-CI/ubuntu/sphinx_docs@v0
# with:
# docs_subpackage_name: ${{ env.docs_packages_names }}
# secret_token: ${{ secrets.GITHUB_TOKEN }}


# #####################################################################
# # UNCRUSTIFY

# uncrustify:
# runs-on: ubuntu-22.04
# steps:

# - name: Uncrustify
# uses: eProsima/eProsima-CI/ubuntu/uncrustify@v0


# #####################################################################
# # PYTHON LINTER

# python-linter:
# runs-on: ubuntu-22.04
# steps:

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

0 comments on commit d21902a

Please sign in to comment.