8
8
strategy :
9
9
max-parallel : 5
10
10
matrix :
11
- python-version : ["3.10"] # , "3.9", "3.10"]
11
+ python-version : ["3.8" , "3.9", "3.10"]
12
12
13
13
# Skip `pull_request` runs on local PRs for which `push` runs are already triggered
14
14
if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
@@ -30,25 +30,23 @@ jobs:
30
30
- 6379:6379
31
31
32
32
steps :
33
- - uses : actions/checkout@v3
34
- - name : Set up Python ${{ matrix.python-version }}
35
- uses : actions/setup-python@v3
36
- with :
37
- python-version : ${{ matrix.python-version }}
33
+ - name : Code checkout
34
+ uses : actions/checkout@v3
38
35
39
- - name : Set up Conda environment
36
+ - name : Set up Conda environment with micromamba for Python ${{ matrix.python-version }}
40
37
uses : mamba-org/setup-micromamba@v1
41
38
with :
42
- micromamba-version : " latest"
43
- environment-file : conda-environment.yml
44
39
cache-environment : true
40
+ create-args : >-
41
+ python=${{ matrix.python-version }}
42
+ environment-file : conda-environment.yml
45
43
post-cleanup : " all"
46
44
47
45
- name : Install MXCuBE
48
46
run : " ${MAMBA_EXE} run --name mxcubeweb poetry install"
49
47
50
48
- name : Linting & Code Quality
51
- run : " ${MAMBA_EXE} run --name mxcubeweb poetry run pre-commit run --all-files"
49
+ run : " ${MAMBA_EXE} run --name mxcubeweb pre-commit run --all-files"
52
50
53
51
- name : Test with pytest
54
- run : " ${MAMBA_EXE} run --name mxcubeweb poetry run pytest"
52
+ run : " ${MAMBA_EXE} run --name mxcubeweb pytest"
0 commit comments