From 720096d263dd6d867ddad86f4249229e33a1347c Mon Sep 17 00:00:00 2001 From: Jenny Shen Date: Wed, 19 Jun 2024 11:04:59 -0400 Subject: [PATCH] Add Github Actions CI for tests --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..66e796d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: ci + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + name: Ruby ${{ matrix.ruby }} + strategy: + matrix: + ruby: + - '2.6' + - '2.7' + - '3.0' + - '3.1' + - '3.2' + - '3.3' + + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: Run setup commands + run: pushd test/fixtures/coffee && npm install && popd + - name: Run tests + run: script/test