Repository navigation
64 lines (54 loc) · 1.83 KB
/
Copy pathpython_matrix_weekly.yml
File metadata and controls
64 lines (54 loc) · 1.83 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Python Matrix Weekly
# The whole suite on every Python Sophios supports, on Ubuntu, set up as Lint And
# Test sets up its Linux leg. The corpora need the sibling repositories, which
# the other lanes check out: cwl_corpus is Run Workflows' and Lint And Test's,
# nextflow_corpus is Run Workflows', and skip_pypi_ci is what a hosted runner
# cannot run.
on:
schedule:
- cron: '0 0 * * 5'
workflow_dispatch:
permissions:
contents: read
defaults:
run:
shell: bash -l {0}
jobs:
suite:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ['3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v5
- name: Setup miniforge
uses: conda-incubator/setup-miniconda@v4.0.1
with:
miniforge-variant: Miniforge3
miniforge-version: 24.7.1-2
environment-file: install/system_deps.yml
activate-environment: wic
channels: conda-forge
python-version: ${{ matrix.python }}
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '17'
- name: Install Sophios
run: pip install -e ".[all_except_runner_src]"
- name: Install pinned Nextflow
env:
NXF_VER: "26.10.5"
run: |
curl --fail --silent --show-error https://get.nextflow.io | bash
install -m 0755 nextflow "${RUNNER_TEMP}/nextflow"
echo "${RUNNER_TEMP}" >> "${GITHUB_PATH}"
NXF_ANSI_LOG=false "${RUNNER_TEMP}/nextflow" -version | grep 'version 26.10.5'
- name: PyTest the suite without its corpora
timeout-minutes: 60
env:
NXF_ANSI_LOG: "false"
NXF_OFFLINE: "true"
NXF_VER: "26.10.5"
run: pytest tests -m "not cwl_corpus and not nextflow_corpus and not skip_pypi_ci"