From b68c20553bc534a0515b57056d3a90f07b41cb97 Mon Sep 17 00:00:00 2001 From: Andrii Dmytrenko Date: Wed, 10 Jan 2024 13:45:56 +0000 Subject: [PATCH] Run tests as part of the workflow --- .github/workflows/workflow.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index dd3cf87..dd643e9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -9,10 +9,12 @@ jobs: - uses: ruby/setup-ruby-pkgs@v1 with: ruby-version: 3.1.0 - - run: sudo apt-get update && sudo apt-get install -y libopencv-dev + - run: sudo apt-get update && sudo apt-get install -y libopencv-dev libvips - run: gem update --system - - run: gem build libfacedetection.gemspec - - run: gem install $(ls -1 *.gem) + - run: rake gem + - run: gem install $(ls -1 pkg/*.gem) + - run: bundle install + - run: ruby tests/test_detection.rb # compile_native_gem: # name: Compile native gem # runs-on: ubuntu-latest