From d4460d8ba400914bf26d0d519b29802b2cf279cc Mon Sep 17 00:00:00 2001 From: Bryant Nelson Date: Fri, 9 Oct 2020 12:10:45 -0500 Subject: [PATCH] Create feedstock-pr.yml (#10) --- .github/workflows/feedstock-pr.yml | 29 +++++++++++++++++++++++++++++ recipe/meta.yaml | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/feedstock-pr.yml diff --git a/.github/workflows/feedstock-pr.yml b/.github/workflows/feedstock-pr.yml new file mode 100644 index 0000000..6cd02f6 --- /dev/null +++ b/.github/workflows/feedstock-pr.yml @@ -0,0 +1,29 @@ +name: Open-CE Feedstock PR Tests + +on: + pull_request: + branches: [master] + +jobs: + optional_tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: '0' + - uses: conda-incubator/setup-miniconda@v1.7.0 + with: + auto-update-conda: true + python-version: "3.7" + - uses: open-ce/open-ce/.github/actions/feedstock-optional-pr@master + required_tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: '0' + - uses: conda-incubator/setup-miniconda@v1.7.0 + with: + auto-update-conda: true + python-version: "3.7" + - uses: open-ce/open-ce/.github/actions/feedstock-required-pr@master diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b8bd586..c89be39 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -85,7 +85,7 @@ requirements: - tensorboard {{ tensorboard }} build: - number: 1 + number: 2 {% if build_type == 'cpu' %} string: {{ build_type }}_py{{ python | replace(".", "") }}_{{ PKG_BUILDNUM }} {% else %}