Skip to content

Commit f886e82

Browse files
committed
Updated GHA python and nextflow versions
1 parent 6654bd6 commit f886e82

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/run_tests.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
env:
2727
CAPSULE_LOG: none
2828
run: |
29-
curl -s https://get.nextflow.io | bash
29+
curl -fsSL https://github.com/nextflow-io/nextflow/releases/download/v24.10.4/nextflow -o nextflow | bash
3030
sudo mv nextflow /usr/local/bin/
3131
3232
- name: Make Nextflow binary executable
@@ -35,11 +35,22 @@ jobs:
3535
- name: Set up python
3636
uses: actions/setup-python@v2
3737
with:
38-
python-version: 3.9
38+
python-version: 3.12
3939
architecture: x64
4040

41-
- name: Install test requirements
42-
run: pip install -r requirements-dev.txt
41+
- name: Install build dependencies and install test requirements
42+
run: |
43+
# Install system packages needed to build wheels for packages like lxml as it's missig in pytho 3.13
44+
sudo apt-get update
45+
sudo apt-get install -y build-essential libxml2-dev libxslt1-dev python3-dev lib32z1-dev zlib1g-dev
46+
47+
# Install latest build tools and PEP 517 build dependencies
48+
pip install --upgrade pip setuptools wheel build
49+
pip install build hatchling setuptools-scm
50+
51+
# Install Python requirements for tests
52+
pip install lxml
53+
pip install -r requirements-dev.txt
4354
4455
- name: Run tests
4556
run: pytest tests

0 commit comments

Comments
 (0)