Skip to content

Commit df1dc0b

Browse files
authored
Merge pull request #111 from bigbio/dev
remove unnecesary tests
2 parents 182e7c3 + 2215b8c commit df1dc0b

File tree

188 files changed

+17150
-812123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

188 files changed

+17150
-812123
lines changed

.github/workflows/pytest.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.9", "3.10", "3.11"]
15+
python-version: ["3.10", "3.11"]
1616

1717
steps:
1818
- uses: actions/checkout@v4
1919
with:
2020
lfs: true
21-
21+
2222
- name: Set up Python ${{ matrix.python-version }}
2323
uses: actions/setup-python@v4
2424
with:
2525
python-version: ${{ matrix.python-version }}
26-
26+
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
3030
python -m pip install pytest pytest-cov
3131
pip install .
32-
32+
3333
- name: Verify test data files
3434
run: |
3535
ls -la tests/resources/maxquant/PXD003133-22min/
@@ -39,11 +39,11 @@ jobs:
3939
else
4040
echo "Test data files found."
4141
fi
42-
42+
4343
- name: Test with pytest
4444
run: |
4545
pytest tests/ -v --cov=pmultiqc
46-
46+
4747
- name: Upload coverage reports to Codecov
4848
uses: codecov/codecov-action@v3
4949
with:

.github/workflows/python-app.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ jobs:
111111
runs-on: ubuntu-latest
112112
steps:
113113
- uses: actions/checkout@v4
114-
- name: Set up Python 3.9
114+
- name: Set up Python 3.10
115115
uses: actions/setup-python@v4
116116
with:
117-
python-version: 3.9
117+
python-version: "3.10"
118118
- name: Install package
119119
run: pip install .
120120
- name: Test mzid & mzML file
@@ -136,10 +136,10 @@ jobs:
136136
runs-on: ubuntu-latest
137137
steps:
138138
- uses: actions/checkout@v4
139-
- name: Set up Python 3.9
139+
- name: Set up Python "3.10"
140140
uses: actions/setup-python@v4
141141
with:
142-
python-version: 3.9
142+
python-version: "3.10"
143143
- name: Install package
144144
run: pip install .
145145
- name: Test mzid & MGF file
@@ -163,10 +163,10 @@ jobs:
163163
runs-on: ubuntu-latest
164164
steps:
165165
- uses: actions/checkout@v4
166-
- name: Set up Python 3.9
166+
- name: Set up Python "3.10"
167167
uses: actions/setup-python@v4
168168
with:
169-
python-version: 3.9
169+
python-version: "3.10"
170170
- name: Install package
171171
run: pip install .
172172
- name: Test MaxQuant file

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.10", "3.11"]
2020

2121
steps:
2222
- uses: actions/checkout@v4

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v4
2828
with:
29-
python-version: '3.x'
29+
python-version: '3.10'
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install --upgrade pip
@@ -37,4 +37,4 @@ jobs:
3737
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3838
with:
3939
user: __token__
40-
password: ${{ secrets.PYPI_API_TOKEN }}
40+
password: ${{ secrets.PYPI_API_TOKEN }}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Auto update exmaples
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
update_examples:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python 3.10
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: "3.10"
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install pytest pytest-cov
25+
pip install .
26+
27+
- name: Update Examples Script
28+
run: |
29+
python docs/update_examples.py
30+
31+
- name: Push Results
32+
run: |
33+
git config --global user.name "GitHub Actions"
34+
git config --global user.email "actions@github.com"
35+
git add .
36+
git commit -m "Update exmaples"
37+
git push

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,5 @@ dmypy.json
133133

134134
.idea
135135
/quantms.db
136-
/results_mq/
136+
/results_mq/
137+
.qodo

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,7 @@ pmultiqc generates a comprehensive report with multiple sections:
146146

147147
## Example Reports
148148

149-
You can find example reports in the `docs` directory:
150-
151-
- [LFQ Example](docs/example_lfq/multiqc_report.html)
152-
- [TMT Example](docs/example_tmt/multiqc_report.html)
153-
- [DIA Example](docs/example_dia/multiqc_report.html)
154-
- [MaxQuant Example](docs/example_maxquant/multiqc_report.html)
155-
- [mzIdentML with mzML Example](docs/example_mzid_mzml/multiqc_report.html)
156-
- [mzIdentML with MGF Example](docs/example_mzid_mgf/multiqc_report.html)
149+
You can find example reports on the [docs page](https://bigbio.github.io/pmultiqc).
157150

158151
## Development
159152

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

docs/PXD003133/quantms.db

Whitespace-only changes.

0 commit comments

Comments
 (0)