diff --git a/.github/workflows/libraries-pipes-java.yml b/.github/workflows/libraries-pipes-java.yml new file mode 100644 index 0000000..b790e01 --- /dev/null +++ b/.github/workflows/libraries-pipes-java.yml @@ -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: + test: + name: "test" + 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 \ + uv run pytest diff --git a/libraries/pipes/implementations/java/dagster-pipes-java/nix/shells/default/default.nix b/libraries/pipes/implementations/java/dagster-pipes-java/nix/shells/default/default.nix index 8667d8a..326f469 100644 --- a/libraries/pipes/implementations/java/dagster-pipes-java/nix/shells/default/default.nix +++ b/libraries/pipes/implementations/java/dagster-pipes-java/nix/shells/default/default.nix @@ -10,7 +10,7 @@ mkShell { jdk8 uv ]; - shellHook = '' - exec zsh - ''; + # shellHook = '' + # exec zsh + # ''; }