https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision 1b8ef441e858797e53a1cf8926c255cdee75195a authored by Garrett 'Karto' Keating on 08 December 2021, 05:09:00 UTC, committed by Bryna Hazelton on 10 December 2021, 22:23:03 UTC
1 parent 942c0b0
Raw File
Tip revision: 1b8ef441e858797e53a1cf8926c255cdee75195a authored by Garrett 'Karto' Keating on 08 December 2021, 05:09:00 UTC
Suppressing van vleck warnings in test
Tip revision: 1b8ef44
azure-piplines.yml
jobs:
- job: hera_cal
  pool:
    vmImage: "ubuntu-latest"
  variables:
    PYTHON: "3.9"
    ENV_NAME: hera_cal
    WITH_SUDO: true

  steps:
  - bash: echo "##vso[task.prependpath]$CONDA/bin"
    displayName: Add conda to PATH

  - bash: ./ci/install_conda.sh
    displayName: Create Anaconda environment

  - bash: |
      source activate ${ENV_NAME}
      pip install --no-deps .
      cd ../
      git clone https://github.com/HERA-Team/hera_cal.git
      cd hera_cal
      pip install --no-deps .
      mkdir test-reports
      python -m pytest hera_cal --junitxml=test-reports/xunit.xml
    displayName: run hera_cal tests

- job: hera_qm
  pool:
    vmImage: "ubuntu-latest"
  variables:
    PYTHON: "3.9"
    ENV_NAME: hera_qm
    WITH_SUDO: true

  steps:
  - bash: echo "##vso[task.prependpath]$CONDA/bin"
    displayName: Add conda to PATH

  - bash: ./ci/install_conda.sh
    displayName: Create Anaconda environment

  - bash: |
      source activate ${ENV_NAME}
      pip install --no-deps .
      cd ../
      git clone https://github.com/HERA-Team/hera_qm.git
      cd hera_qm
      pip install --no-deps .
      mkdir test-reports
      python -m pytest hera_qm --junitxml=test-reports/xunit.xml
    displayName: run hera_qm tests
back to top