diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 88fdace..1698621 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,6 +43,20 @@ jobs: cache: 'pip' cache-dependency-path: 'pyproject.toml' + # Needed for `pueblo.ngr`. + - name: Set up Java + uses: actions/setup-java@v3 + with: + distribution: "temurin" + java-version: "17" + + # Needed for `pueblo.ngr`. + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.2" + bundler-cache: true + - name: Set up project run: | diff --git a/tests/ngr/rust/Cargo.toml b/tests/ngr/rust/Cargo.toml index 97f8360..26234f6 100644 --- a/tests/ngr/rust/Cargo.toml +++ b/tests/ngr/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rust" version = "0.0.1" -edition = "2023" +edition = "2015" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tests/test_ngr.py b/tests/test_ngr.py index f7cd099..95de1aa 100644 --- a/tests/test_ngr.py +++ b/tests/test_ngr.py @@ -44,7 +44,7 @@ def test_ngr_sample(sample: Path): result = runner.invoke( pueblo.ngr.cli, - args=f"test tests/{sample}", + args=f"test --accept-no-venv tests/{sample}", catch_exceptions=False, prog_name=PROGRAM_NAME, )