https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Raw File
Tip revision: ec0c8b89ac731cdf4a3365f273b2e374376b06f2 authored by Bryna Hazelton on 07 October 2020, 15:24:19 UTC
Update changelog for new release
Tip revision: ec0c8b8
azure-piplines.yml
jobs:
- job: hera_cal
  pool:
    vmImage: "ubuntu-16.04"
  variables:
    PYTHON: "3.6"
    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
      mkdir test-reports
      python -m pytest hera_cal --junitxml=test-reports/xunit.xml
    displayName: run hera_cal tests

- job: hera_qm
  pool:
    vmImage: "ubuntu-16.04"
  variables:
    PYTHON: "3.6"
    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
      mkdir test-reports
      python -m pytest hera_qm --junitxml=test-reports/xunit.xml
    displayName: run hera_qm tests
back to top