Skip to content

Commit

Permalink
CLN better CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoral committed Dec 2, 2024
1 parent b612251 commit 867ba30
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 867ba30

Please sign in to comment.