diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47b82d4..af343e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,21 +27,20 @@ jobs: shell: 'bash -l {0}' steps: - - uses: actions/checkout@v3 - - name: Setup Conda - uses: conda-incubator/setup-miniconda@v2 - with: - activate-environment: ${{ env.CONDA_ENV }} - python-version: "3.10" - # Use miniforge to only get conda-forge as default channel. - miniforge-version: latest + - uses: actions/checkout@v3 + - name: Setup Conda + uses: conda-incubator/setup-miniconda@v2 + with: + activate-environment: ${{ env.CONDA_ENV }} + python-version: "3.10" + # Use miniforge to only get conda-forge as default channel. + miniforge-version: latest - - name: Install benchopt and its dependencies - run: | - pip install -r requirements.txt + - name: Install the ramp-kit's dependencies + run: pip install -r requirements.txt - - name: 'Run the tests' - run: ramp-test + - name: Ramp test + run: ramp-test flake8: runs-on: ubuntu-latest @@ -69,7 +68,9 @@ jobs: python-version: "3.10" - name: Install dependencies - run: pip install seaborn nbconvert[test] + run: | + pip install seaborn nbconvert[test] + pip install -r requirements.txt - - name: Check the starting-kiyt notebook + - name: Check the starting-kit notebook run: jupyter nbconvert --execute template_starting_kit.ipynb --to html --ExecutePreprocessor.kernel_name=python3 diff --git a/README.md b/README.md index 56605a8..da5fa55 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Template Kit for RAMP challenge -[![Build Status](https://travis-ci.org/ramp-kits/template-kit.svg?branch=master)](https://travis-ci.org/ramp-kits/template-kit) +[![Build status](https://github.com/ramp-kits/template-kit/actions/workflows/test.yml/badge.svg)](https://github.com/ramp-kits/template-kit/actions/workflows/test.yml) ## Introduction