Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
- name: checkout
uses: actions/checkout@v6
- name: install dependencies
run: python -m pip install .[dev]
run: |
python -m pip install --upgrade pip
python -m pip install --group dev .
- name: lint
run: make lint

Expand All @@ -37,6 +39,6 @@ jobs:
- name: install
run: |
python -m pip install --upgrade pip
python -m pip install .[dev]
python -m pip install --group dev .
- name: run tests
run: make test
8 changes: 6 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ stages:

image: python:3.11

default:
before_script:
- python -m pip install --upgrade pip

lint:
stage: build
script:
- pip install .[dev]
- python -m pip install --group dev .
- make lint

build_wheel:
Expand All @@ -29,5 +33,5 @@ test:
echo ${wheels[*]}
[ ${#wheels[*]} -eq 1 ] # make sure there is only one
wheel_file=${wheels[0]}
python -m pip install ${wheel_file}[dev]
python -m pip install --group dev ${wheel_file}
make test
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ classifiers = [
dependencies = [
]

[project.optional-dependencies]
[dependency-groups]
dev = [
"aiohttp",
"mypy",
"ruff",
"pytest",
"smart_open[http]",
"numpy",
"jbpy[examples]",
{include-group = "examples"},
]

# Dependencies needed to run the examples
Expand Down