From adc5456e72ace0640564121cffbc4a9b9988ab18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Luka=C5=A1=C3=ADk?= Date: Wed, 24 May 2023 13:09:26 +0200 Subject: [PATCH] chores renovate: ci --- .github/workflows/test.yml | 18 ++++++++++++++++++ runtest.sh | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) 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..312fcb9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.2" + bundler-cache: true + - run: ./runtest.sh diff --git a/runtest.sh b/runtest.sh index 81b32a1..5e813fa 100755 --- a/runtest.sh +++ b/runtest.sh @@ -1,8 +1,9 @@ +#!/bin/bash set -e -o pipefail set -x rm -f openscap-*.gem -#gem build openscap.gemspec +gem build openscap.gemspec #gem install openscap-*.gem bundle exec rake test bundle exec rubocop