Skip to content
  • femiadeyemi's avatar
    ci: add build and move sonarqube test · 308c0954
    femiadeyemi authored
    Motivation:
    
    When a pull request is created, the ci github action
    always failed. This defeat the whole point of a ci.
    
    Modification:
    
    - add a github action that will be trigger only on a
        push to the master branch
    - add a test for a build that will generate files that
        will later be used for creating an artifact
    - move the sonarqube scanner from post test command to
        `test:sonarqube`
    
    Result:
    
    - no more build fail cause by sonarqube when a pull
        request created
    - test for build is added and run
    - test for sonarqube is run only when on a push
        request
    
    Pull-request: #8
    308c0954