-
-
Notifications
You must be signed in to change notification settings - Fork 76
44 lines (35 loc) · 960 Bytes
/
python-package.yml
File metadata and controls
44 lines (35 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: main
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python_version: ["3.10", "3.11", "3.12", "3.13"]
concurrency:
group: ci-tests-${{ matrix.python_version }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
environment-file: conda/dev.yaml
channels: conda-forge,nodefaults
activate-environment: pysus
auto-update-conda: true
conda-solver: libmamba
- name: Run jupyterlab with PySUS
run: |
make run-jupyter-pysus
# make test-jupyter-pysus ## takes too long
- name: Linting & Tests
run: |
export CI=1
poetry install
pre-commit run --all-files
make test-pysus