diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..c66544b --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,27 @@ +name: test + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + test-w-conda-recipe: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: setup conda + uses: conda-incubator/setup-miniconda@v2 + with: + auto-update-conda: true + auto-activate-base: true + activate-environment: "" + - name: linux conda build test + shell: bash -l {0} + run: | + conda install -n base -c conda-forge conda-build -y + conda build -c conda-forge conda-recipe diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 776aa35..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -language: python -python: - - 3.7 - -before_install: - - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh - - chmod +x miniconda.sh - - ./miniconda.sh -b - - export PATH=$HOME/miniconda3/bin:$PATH - - conda update --yes -q conda -c conda-forge - - conda config --set always_yes true - - conda config --set anaconda_upload no - -install: - - conda install -q conda-build - -script: - - conda build -c ilastik-forge -c conda-forge -c defaults conda-recipe diff --git a/README.md b/README.md index 0ec20ae..8f62842 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/ilastik/ilastikrag.svg?branch=master)](https://travis-ci.org/ilastik/ilastikrag) +[![test](https://github.com/ilastik/ilastikrag/actions/workflows/test.yaml/badge.svg)](https://github.com/ilastik/ilastikrag/actions/workflows/test.yaml) ilastikrag ========== @@ -11,7 +11,7 @@ Installation ------------ ```bash -conda install -c stuarteberg ilastikrag +conda install -c ilastik-forge ilastikrag ``` [Documentation]: http://stuarteberg.github.io/ilastikrag