Skip to content

Merge pull request #46 from ColibrITD-SAS/feat-noise-integration #88

Merge pull request #46 from ColibrITD-SAS/feat-noise-integration

Merge pull request #46 from ColibrITD-SAS/feat-noise-integration #88

Workflow file for this run

name: Tests
on:
push:
branches:
- dev
workflow_dispatch:
inputs:
python_v:
description: 'python version'
required: true
default: '3.9'
type: choice
options:
- '3.9'
- '3.10'
- '3.11'
commit_ref:
description: Specific ref (branch, tag or SHA)
default: ''
type: string
required: false
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_ref || github.ref }}
- name: Set up Python ${{ github.event.inputs.python_v || '3.9' }}
uses: actions/setup-python@v5
with:
python-version: ${{ github.event.inputs.python_v || '3.9' }}
cache: "pip"
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run test
run: python -m pytest