Skip to content

Commit dff5823

Browse files
authored
Merge pull request #14 from matrulda/upgrade_python_version
Upgrade to python 3.13 and use GHA instead of travis
2 parents 148d49f + 9cd0c45 commit dff5823

File tree

4 files changed

+29
-15
lines changed

4 files changed

+29
-15
lines changed

.github/workflows/run_tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Run Unit Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-22.04
8+
steps:
9+
- uses: actions/checkout@v4
10+
11+
- name: Set up Python 3.13
12+
uses: actions/setup-python@v5
13+
with:
14+
python-version: '3.13'
15+
16+
- name: Install dependencies
17+
run: |
18+
python3 -m pip install --upgrade pip
19+
pip install -r requirements/dev .
20+
21+
- name: Launch tests
22+
run: |
23+
pytest --cov=fastq_demux --cov-report=xml tests/
24+
25+
- name: Update data on codecov
26+
uses: codecov/codecov-action@v5

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# first stage
2-
FROM python:3.7 AS builder
2+
FROM python:3.13 AS builder
33

44
COPY requirements.txt .
55
COPY requirements/* ./requirements/
@@ -8,7 +8,7 @@ COPY requirements/* ./requirements/
88
RUN pip install --user -r requirements.txt
99

1010
# second unnamed stage
11-
FROM python:3.7-slim
11+
FROM python:3.13-slim
1212
WORKDIR /code
1313

1414
# copy only the dependencies installation from the 1st stage image

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Example usage with a data directory mounted into the container from the local fi
9595
```
9696
docker run -v $(pwd)/tests:/data fastq_demux:master \
9797
--R1 /data/dual-index-short_Undetermined_S0_L001_R1_001.fastq.gz \
98-
--samplesheet /data/samplesheet.tsv
98+
--samplesheet /data/samplesheet_dual_index.tsv
9999
```
100100

101101
## Performance

0 commit comments

Comments
 (0)