S3CSI-184: Add node ID in watcher for the nodes to watch activity on and Add CSI daemon detection to controller #354
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Code Quality Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| - 'mkdocs.yml' | |
| - 'requirements.txt' | |
| - '.lychee.toml' | |
| - '.markdownlint.yaml' | |
| jobs: | |
| code-quality-tests: | |
| name: Run | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| test: [unit-test, controller-integration-test, validate-helm, check-licenses] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: 'go.mod' | |
| cache: true | |
| - name: Setup Helm | |
| uses: azure/[email protected] | |
| - name: Run ${{ matrix.test }} | |
| run: make ${{ matrix.test }} | |
| - name: Upload unit test coverage to Codecov | |
| if: matrix.test == 'unit-test' | |
| continue-on-error: true | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: scality/mountpoint-s3-csi-driver | |
| - name: Upload controller test results to Codecov | |
| if: matrix.test == 'controller-integration-test' | |
| continue-on-error: true | |
| uses: codecov/test-results-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./controller-integration-tests-results.xml | |
| flags: controller_integration_tests | |
| slug: scality/mountpoint-s3-csi-driver |