Skip to content

Commit 11a2371

Browse files
authored
Add CI
1 parent 89d7b75 commit 11a2371

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: prepmd CI
5+
6+
env:
7+
KEY_MODELLER: MODELIRANJE
8+
9+
on:
10+
workflow_dispatch:
11+
pull_request:
12+
push:
13+
branches:
14+
- main
15+
16+
jobs:
17+
tests:
18+
name: tests
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
platform: [windows-latest, macos-latest, ubuntu-latest]
23+
python-version: ['3.13']
24+
25+
runs-on: $${{ matrix.platform }}
26+
27+
steps:
28+
- uses: conda-incubator/setup-miniconda@v3
29+
with:
30+
miniconda-version: "latest"
31+
32+
- name: tests
33+
run: |
34+
conda env create -f environment.yml
35+
conda activate prep
36+
conda install pytest
37+
pytest

0 commit comments

Comments
 (0)