From c6e43672d6005ad4c9022f88dcb37983fa3196c1 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Fri, 29 Nov 2024 17:21:50 +0000 Subject: [PATCH] ci: add gha ci workflow --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c3aff15 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Test + +on: [push, pull_request] + +jobs: + test: + strategy: + fail-fast: false + matrix: + ruby_version: ["2.7", "3.0", "3.1", "3.2", "3.3"] + os: ["ubuntu-latest","windows-latest","macos-latest"] + # rack_version: ["2", "3"] + runs-on: ${{ matrix.os }} + # env: + # RACK_VERSION: ${{ matrix.rack_version }} + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby_version }} + - run: "bundle install" + - run: "bundle exec rake" \ No newline at end of file