diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..773e41965d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI +on: + push: + branches: + - scip-ruby/master + pull_request: + branches: + - scip-ruby/master + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Bazel + run: sudo npm install --location=global @bazel/bazelisk + - name: Mount bazel cache + uses: actions/cache@v3 + with: + path: "$HOME/.cache/bazel" + key: bazel + - name: Run tests + run: ./bazel test --test_output=errors //test/scip --config=dbg diff --git a/test/scip_test_runner.cc b/test/scip_test_runner.cc index 3cf7651563..7a49786fcc 100644 --- a/test/scip_test_runner.cc +++ b/test/scip_test_runner.cc @@ -292,7 +292,7 @@ TEST_CASE("SCIPTest") { using Provider = pipeline::semantic_extension::SemanticExtensionProvider; auto indexFilePath = filesystem::temp_directory_path(); - indexFilePath.concat(test.basename + ".scip"); // FIXME(varun): Update for folder tests with multiple files? + indexFilePath.append(test.basename + ".scip"); // FIXME(varun): Update for folder tests with multiple files? auto providers = Provider::getProviders(); ENFORCE(providers.size() == 1);