Skip to content

Commit 44e2110

Browse files
cdb184d8ea95ff285d7b8aa64772070f74d8be1f
1 parent 41c3bd5 commit 44e2110

File tree

214 files changed

+28052
-16883
lines changed

Some content is hidden

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

214 files changed

+28052
-16883
lines changed

Diff for: .github/workflows/python.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Set up Python ${{ matrix.python-version }}
2121
uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install flake8 pytest
28-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29-
- name: Lint with flake8
30-
run: |
31-
# stop the build if there are Python syntax errors or undefined names
32-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
33-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
34-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
27+
pip install -r requirements.txt
28+
pip install -r test-requirements.txt
3529
- name: Test with pytest
3630
run: |
37-
pytest
31+
pytest --cov={{packageName}}

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ var/
3333
# Installer logs
3434
pip-log.txt
3535
pip-delete-this-directory.txt
36-
dev-requirements.txt.log
3736

3837
# Unit test / coverage reports
3938
htmlcov/

Diff for: .gitlab-ci.yml

+19-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
14
# ref: https://docs.gitlab.com/ee/ci/README.html
5+
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
26

37
stages:
48
- test
59

6-
.tests:
10+
.pytest:
711
stage: test
812
script:
913
- pip install -r requirements.txt
1014
- pip install -r test-requirements.txt
1115
- pytest --cov=neurosynth_compose_sdk
1216

13-
test-3.5:
14-
extends: .tests
15-
image: python:3.5-alpine
16-
test-3.6:
17-
extends: .tests
18-
image: python:3.6-alpine
19-
test-3.7:
20-
extends: .tests
21-
image: python:3.7-alpine
22-
test-3.8:
23-
extends: .tests
17+
pytest-3.8:
18+
extends: .pytest
2419
image: python:3.8-alpine
20+
pytest-3.9:
21+
extends: .pytest
22+
image: python:3.9-alpine
23+
pytest-3.10:
24+
extends: .pytest
25+
image: python:3.10-alpine
26+
pytest-3.11:
27+
extends: .pytest
28+
image: python:3.11-alpine
29+
pytest-3.12:
30+
extends: .pytest
31+
image: python:3.12-alpine

0 commit comments

Comments
 (0)