Skip to content

Commit

Permalink
add e2e test to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rask24 committed Feb 14, 2024
1 parent 4f33321 commit 2b506a3
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
submodules: recursive
- name: Build push_swap
run: make
test:
unit_test:
name: test
runs-on: macos-12
steps:
Expand All @@ -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

0 comments on commit 2b506a3

Please sign in to comment.