From 2b506a353ecf33795e7b0b27216f62e6f0a3cdcf Mon Sep 17 00:00:00 2001 From: rask24 Date: Wed, 14 Feb 2024 19:49:22 +0900 Subject: [PATCH] add e2e test to ci --- .github/workflows/ci.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e84ccf9..4a815a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: submodules: recursive - name: Build push_swap run: make - test: + unit_test: name: test runs-on: macos-12 steps: @@ -36,5 +36,22 @@ jobs: run: make - name: Unit test run: make test - - name: e2e test + e2e_test: + runs-on: macos-12 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Build push_swap + run: make + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3.0 + - name: Install dependencies + run: | + gem install bundler + bundle install + - name: Run tests run: rake test