Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski committed Feb 4, 2025
1 parent e54188a commit cb3d55a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
- name: Install dependencies from uv lock
if: ${{ inputs.from-lock == 'true' }}
# NOTE: We're asserting that the lockfile is up to date
run: uv sync --locked --extra dev --extra optionaltests
run: uv sync --locked --extra dev
shell: bash
- name: Install disk-objectstore
# I'm using pip install -e to make sure that the coverage properly traces the runs
# also of the concurrent tests (maybe we can achieve this differently)
run: uv pip install -e .[dev,optionaltests]
run: uv pip install -e .[dev]
- name: Run benchmarks
run: pytest --benchmark-only --benchmark-json output.json
- name: Store benchmark result
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

name: Continuous integration

on: [push, pull_request]
on: [push] # TODO put this back

jobs:
pre-commit:
Expand Down Expand Up @@ -48,12 +48,12 @@ jobs:
- name: Install dependencies from uv lock
if: ${{ inputs.from-lock == 'true' }}
# NOTE: We're asserting that the lockfile is up to date
run: uv sync --locked --extra dev --extra progressbar --extra optionaltests
run: uv sync --locked --extra dev --extra progressbar --extra optionaltests --extra examples
shell: bash
- name: Install disk-objectstore
# I'm using pip install -e to make sure that the coverage properly traces the runs
# also of the concurrent tests (maybe we can achieve this differently)
run: uv pip install -e .[dev,progressbar,optionaltests]
run: uv pip install -e .[dev,progressbar,optionaltests,examples]
- name: Test with pytest
# No need to run the benchmarks, they will run in a different workflow
# Also, run in very verbose mode so if there is an error we get a complete diff
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/concurrency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
- name: Install dependencies from uv lock
if: ${{ inputs.from-lock == 'true' }}
# NOTE: We're asserting that the lockfile is up to date
run: uv sync --locked --extra dev --extra optionaltests
run: uv sync --locked --extra dev
shell: bash
- name: Install disk-objectstore
# I'm using pip install -e to make sure that the coverage properly traces the runs
# also of the concurrent tests (maybe we can achieve this differently)
run: uv pip install -e .[dev,optionaltests]
run: uv pip install -e .[dev]
- name: Test with pytest
# Run only the concurrency tests, and repeating them 5 times to increase the chance that, if there is an issue
# only happening rarely, we notice it
Expand Down

0 comments on commit cb3d55a

Please sign in to comment.