Skip to content

Commit 941802a

Browse files
committed
chores renovate: ci
1 parent fcba2ec commit 941802a

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: "3.2"
17+
bundler-cache: true
18+
- run: |
19+
sudo apt-get update
20+
sudo apt-get -y install libopenscap8
21+
- run: |
22+
bundle install
23+
- run: |
24+
./runtest.sh

runtest.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
#!/bin/bash
12
set -e -o pipefail
23
set -x
34

45
rm -f openscap-*.gem
5-
#gem build openscap.gemspec
6+
gem build openscap.gemspec
67
#gem install openscap-*.gem
78
bundle exec rake test
89
bundle exec rubocop

0 commit comments

Comments
 (0)