Add mapping for the DIII-D reflectometer diagnostic #871
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: Regression tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run tests in Python ${{ matrix.python-version }} container | |
| uses: addnab/docker-run-action@v3 | |
| with: | |
| image: python:${{ matrix.python-version }} | |
| options: -v ${{ github.workspace }}:/workspace -w /workspace -e USER=ci_user | |
| run: | | |
| apt-get update | |
| apt-get install -y libhdf5-dev libnetcdf-dev gfortran | |
| python -m pip install --upgrade pip | |
| python -m pip install numpy | |
| python -m pip install -r requirements.txt | |
| python -m pip install boto3 pymongo xmltodict | |
| python -m pip install wheel | |
| python -m pip install --no-build-isolation .[machine] | |
| python -c "import omas; print(omas.__version__)" | |
| make test |