Skip to content

Commit 17658bb

Browse files
authored
Fix justfile target handling (#61)
1 parent 5d6a049 commit 17658bb

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.github/workflows/_release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ jobs:
184184
- name: Run unit tests with minimum dependency versions
185185
run: |
186186
uv sync --python=${PYTHON_VERSION} --resolution=lowest-direct
187-
just test || git checkout uv.lock
188-
git checkout uv.lock
187+
just tests
189188
190189
publish:
191190
needs:

.github/workflows/_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Run core tests
4545
shell: bash
46-
run: just test
46+
run: just tests
4747

4848
- name: Start local Atlas
4949
working-directory: .
@@ -77,4 +77,4 @@ jobs:
7777
- name: Run unit tests with minimum dependency versions
7878
run: |
7979
uv sync --python=${{ matrix.python-version }} --resolution=lowest-direct
80-
just test
80+
just tests

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ just install
3232
Then verify the installation.
3333

3434
```bash
35-
just test
35+
just tests
3636
```
3737

3838
In order to run the integration tests, you'll also need a `MONGODB_URI` for MongoDB Atlas, as well
@@ -61,7 +61,7 @@ If you add new logic, please add a unit test.
6161
To run unit tests:
6262

6363
```bash
64-
just test
64+
just tests
6565
```
6666

6767
Integration tests cover the end-to-end service calls as much as possible.
@@ -73,7 +73,7 @@ this, please raise an issue.
7373
To run the integration tests:
7474

7575
```bash
76-
just integration_test
76+
just integration_tests
7777
```
7878

7979
### Formatting and Linting

libs/langchain-mongodb/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ integration_tests:
1515
uv run pytest tests/integration_tests/
1616

1717
[group('test')]
18-
test *args="tests/unit_tests":
18+
tests *args="tests/unit_tests":
1919
uv run pytest {{args}}
2020

2121
[group('test')]

libs/langgraph-checkpoint-mongodb/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ integration_tests:
1515
uv run pytest tests/integration_tests/
1616

1717
[group('test')]
18-
test *args="tests/unit_tests":
18+
tests *args="tests/unit_tests":
1919
uv run pytest {{args}}
2020

2121
[group('test')]

0 commit comments

Comments
 (0)