diff --git a/.github/workflows/unit-tests-push.yml b/.github/workflows/unit-tests-push.yml new file mode 100644 index 00000000..c6da6575 --- /dev/null +++ b/.github/workflows/unit-tests-push.yml @@ -0,0 +1,20 @@ +name: Unit tests +on: + push: + branches: + - master + - unit-tests + pull_request: + types: [opened, synchronize, reopened] +jobs: + unit-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Analyze with SonarCloud + uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file