Skip to content

Merge pull request #243 from yshmatov-anaconda/NAVI-279/anaconda_clou… #316

Merge pull request #243 from yshmatov-anaconda/NAVI-279/anaconda_clou…

Merge pull request #243 from yshmatov-anaconda/NAVI-279/anaconda_clou… #316

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
- name: Setup environment
shell: bash -l {0}
run: |
conda create --name testenv conda conda-index flake8 requests
- name: Lint
shell: bash -l {0}
run: |
conda activate testenv
echo "::add-matcher::.github/flake8-matcher.json"
flake8 --count .
echo "::remove-matcher owner=flake8::"
- name: Test
shell: bash -l {0}
run: |
conda activate testenv
echo "################## main ###########################"
python test-hotfix.py main --subdir noarch linux-32 linux-64 linux-aarch64 linux-ppc64le linux-s390x osx-64 osx-arm64 win-32 win-64
echo "################## r ###########################"
python test-hotfix.py r --subdir noarch linux-32 linux-64 linux-aarch64 linux-ppc64le osx-64 win-32 win-64
echo "###################################################"