Merge pull request #237 from AnacondaRecipes/numpy-2-hypothesis-fix #300
This file contains 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: 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 "###################################################" |