From a8d03998a94ee280c66599012422666f51bac29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Hauge=20Bj=C3=B8rnskov?= <19725+henrikbjorn@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:52:24 +0100 Subject: [PATCH 1/4] Test on GitHub Actions --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++ README.md | 7 ++++--- switest.gemspec | 6 +++--- 3 files changed, 43 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c7cea93 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: Test + +on: + push: + +jobs: + test: + runs-on: ubuntu-latest + + name: Test (Ruby ${{ matrix.ruby-version }}) + + strategy: + fail-fast: false + + matrix: + ruby-version: + - 2.6 + + steps: + - uses: actions/checkout@v4 + + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: libxslt-dev libxml2-dev zlib1g-dev + version: 1.0 + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler: 1.17 + + - run: | + gem install nokogiri -v '1.6.1' --platform=ruby -- --use-system-libraries + + - run: bundle install + - run: bundle exec rake diff --git a/README.md b/README.md index 1e848a3..59b69fc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -[![Build Status](https://travis-ci.org/firmafon/switest.svg)](https://travis-ci.org/firmafon/switest) +![Build Status](https://github.com/relatel/switest/actions/workflows/ci.yml/badge.svg) + # SWITEST @@ -114,7 +115,7 @@ must support inband DTMF for the DTMF features to work. ### Early stage This is prototype software, but still quite powerful. At the moment -it is running 50+ scenarios at Firmafon, testing everything from +it is running 50+ scenarios at Relatel, testing everything from IVR menus to attended transfers and voicemails. ## License @@ -122,7 +123,7 @@ IVR menus to attended transfers and voicemails. ``` The MIT License (MIT) -Copyright (c) 2015 Firmafon ApS, Harry Vangberg +Copyright (c) 2015 Relatel A/S Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/switest.gemspec b/switest.gemspec index 7a83290..086e253 100644 --- a/switest.gemspec +++ b/switest.gemspec @@ -3,10 +3,10 @@ Gem::Specification.new do |s| s.version = "0.1" s.date = "2015-04-23" s.summary = "Switest" - s.email = "hv@firmafon.dk" - s.homepage = "http://github.com/firmafon/switest" + s.email = "teknik@relatel.dk" + s.homepage = "http://github.com/relatel/switest" s.description = "Functional testing for voice applications" - s.authors = ["Harry Vangberg"] + s.authors = ["Harry Vangberg", "Relatel A/S"] s.files = Dir["lib/**/*"] + %w(README.md) s.test_files = Dir["test/**/*"] From e1fe64d83a7687c120390dca12c76942dfdca746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Hauge=20Bj=C3=B8rnskov?= <19725+henrikbjorn@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:47:59 +0100 Subject: [PATCH 2/4] Try only ruby platform --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7cea93..049da97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,8 +29,6 @@ jobs: ruby-version: ${{ matrix.ruby-version }} bundler: 1.17 - - run: | - gem install nokogiri -v '1.6.1' --platform=ruby -- --use-system-libraries - + - run: gem install nokogiri -v '1.6.1' --platform=ruby - run: bundle install - run: bundle exec rake From e79f80632f050584d3aac14110a9b23652c171f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Hauge=20Bj=C3=B8rnskov?= <19725+henrikbjorn@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:51:46 +0100 Subject: [PATCH 3/4] Try only ruby platform --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 049da97..26004dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,4 +31,5 @@ jobs: - run: gem install nokogiri -v '1.6.1' --platform=ruby - run: bundle install + - run: bundle exec gem pristine nokogiri - run: bundle exec rake From f8a0702ec9dab231383c2e976df3fe782751d053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Hauge=20Bj=C3=B8rnskov?= <19725+henrikbjorn@users.noreply.github.com> Date: Tue, 27 Feb 2024 13:00:59 +0100 Subject: [PATCH 4/4] no prisitine --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26004dd..4263325 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: ruby-version: ${{ matrix.ruby-version }} bundler: 1.17 - - run: gem install nokogiri -v '1.6.1' --platform=ruby + - run: bundle config build.nokogiri --use-system-libraries - run: bundle install - - run: bundle exec gem pristine nokogiri + # - run: bundle exec gem pristine nokogiri - run: bundle exec rake