Skip to content

Commit cbfb9b6

Browse files
committed
Run tests as part of the workflow
1 parent 4975d37 commit cbfb9b6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/workflow.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ jobs:
99
- uses: ruby/setup-ruby-pkgs@v1
1010
with:
1111
ruby-version: 3.3.0
12-
- run: sudo apt-get update && sudo apt-get install -y libopencv-dev
12+
- run: sudo apt-get update && sudo apt-get install -y libopencv-dev libvips
1313
- run: gem update --system
14-
- run: gem build libfacedetection.gemspec
15-
- run: gem install $(ls -1 *.gem)
14+
- run: rake gem
15+
- run: gem install $(ls -1 pkg/*.gem)
16+
- run: bundle install
17+
- run: ruby tests/test_detection.rb
1618
# compile_native_gem:
1719
# name: Compile native gem
1820
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)