Skip to content

Commit 5420700

Browse files
Adding pipeline for GitHub Actions
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
1 parent c36488b commit 5420700

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: terratorch tuning toolkit
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.10", "3.11"]
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
cache: 'pip'
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install pytest
24+
pip install -e .
25+
- name: Test with pytest
26+
run: |
27+
pytest tests

0 commit comments

Comments
 (0)