Adjust SBD NCU profile defaults #857
Workflow file for this run
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: Result Server Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| pytest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.12" | |
| - "3.13" | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "pip" | |
| cache-dependency-path: requirements-result-server.txt | |
| - name: Install result_server test dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements-result-server.txt | |
| - name: Run site configuration preflight | |
| run: python result_server/tests/check_site_config.py | |
| - name: Run result_server pytest suite | |
| run: python result_server/tests/run_result_server_tests.py | |
| profile-data-shell-group: | |
| name: profile-data-shell / ${{ matrix.shell-group }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| shell-group: | |
| - common | |
| - result-sender | |
| - estimation | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Run ${{ matrix.shell-group }} shell tests | |
| run: bash scripts/tests/run_profile_data_shell_tests.sh "${{ matrix.shell-group }}" | |
| profile-data-shell: | |
| runs-on: ubuntu-latest | |
| needs: profile-data-shell-group | |
| if: ${{ always() }} | |
| steps: | |
| - name: Check shell test groups | |
| run: | | |
| set -euo pipefail | |
| if [ "${{ needs.profile-data-shell-group.result }}" != "success" ]; then | |
| echo "One or more shell test groups failed" | |
| exit 1 | |
| fi | |
| echo "All shell test groups passed" |