From a4a17038544e8e1ff22543a8386b3dce0e60ec69 Mon Sep 17 00:00:00 2001 From: Sahil Kang Date: Sun, 24 Nov 2024 22:04:12 -0800 Subject: [PATCH] Use github actions instead of circleci Signed-off-by: Sahil Kang --- .circleci/config.yml | 21 --------------------- .github/workflows/ci.yml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 21 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/ci.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index e480294..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: 2 - -jobs: - test: - working_directory: ~/cl-rdkafka - - docker: - - image: docker/compose:1.23.2 - - steps: - - checkout - - setup_remote_docker - - run: | - docker-compose -f ./test/docker-compose.test.yml \ - up --build --abort-on-container-exit test - -workflows: - version: 2 - test_workflow: - jobs: - - test diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..aa6961e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: CI + +on: + push: + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: docker compose + run: | + docker-compose -f ./test/docker-compose.test.yml \ + up --build --abort-on-container-exit test