https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Raw File
Tip revision: d3bca4162bd516be6f4117b46b993dfcc93fdc1d authored by Paul La Plante on 10 February 2022, 00:52:48 UTC
Update changelog for new release
Tip revision: d3bca41
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 -n auto --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 -n auto --junitxml=test-reports/xunit.xml
    displayName: run hera_qm tests
back to top