Skip to content

Commit

Permalink
[dagster-pipes-java] add tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgafni committed Dec 25, 2024
1 parent e033aba commit baeec0f
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 7 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/libraries-pipes-java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: dagster-pipes-java

on:
pull_request:
types: [opened, synchronize, reopened, closed]
paths:
- "libraries/pipes/implementations/java/**"
- ".github/workflows/libraries-pipes-java.yml"

defaults:
run:
working-directory: ./libraries/pipes/implementations/java/dagster-pipes-java/

jobs:
integration-tests:
name: "Dagster Integration Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run tests
run: |
nix develop --command \
bash -c "uv run pytest"
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ mkShell {
zsh
jdk8
uv
python312
];
shellHook = ''
exec zsh
'';
# shellHook = ''
# exec zsh
# '';
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "dagster-pipes-java"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.10"
dependencies = [
"dagster-aws>=0.25.0",
"dagster>=1.8.9",
Expand Down
Loading

0 comments on commit baeec0f

Please sign in to comment.