Skip to content

Feature/refactor + dependabot #40

Feature/refactor + dependabot

Feature/refactor + dependabot #40

Workflow file for this run

name: terratorch tuning toolkit
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
pip install -e .
- name: List pip dependencies
run: pip list
- name: Test with pytest
run: |
pytest tests