Add optional Vampir auto-launch integration #153
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: Unit Tests | |
| # Workflow triggers | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| # Running workflow manually | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| # Checks-out repository under $GITHUB_WORKSPACE | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip | |
| - name: Add Score-P repository | |
| run: sudo add-apt-repository ppa:andreasgocht/scorep | |
| - name: Install Score-P | |
| run: sudo apt-get -y install scorep | |
| - name: Set up environment | |
| run: echo "$HOME/scorep/bin" >> $GITHUB_PATH | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| cache: 'pip' | |
| - name: Install Python packages | |
| run: | | |
| pip install --upgrade pip | |
| pip install --upgrade setuptools | |
| pip install scorep | |
| pip install jupyter_kernel_test | |
| pip install pyyaml dill cloudpickle numpy pandas | |
| pip install ipywidgets itables matplotlib pynvml | |
| - name: Build scorep_jupyter kernel | |
| run: | | |
| pip install . | |
| python -m scorep_jupyter.install | |
| - name: Run userpersistence tests | |
| run: | | |
| python -m unittest tests.test_userpersistence | |
| - name: Run kernel tests | |
| run: | | |
| python -m unittest tests.test_kernel |