Skip to content

Commit

Permalink
Allow ui classic to run CI in act
Browse files Browse the repository at this point in the history
This additionally removes the jasmine overrides that we had for Travis,
but are no longer necessary in GitHub Actions and act
  • Loading branch information
Fryguy committed Jan 14, 2025
1 parent 6462723 commit 9c4e0b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ end
if ENV["BUNDLE_GEMFILE"].nil? || ENV["BUNDLE_GEMFILE"] == File.expand_path("../Gemfile", __FILE__)
require 'jasmine'
load 'jasmine/tasks/jasmine.rake'
require './config/jasmine_overrides'

# running jasmine outside ci ignores the `random: false` in `jasmine.yml` - needs a message
task :jasmine_url do
Expand Down
6 changes: 5 additions & 1 deletion bin/before_install
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ -n "$CI" -a \( "$TEST_SUITE" = "spec:cypress" -o "$TEST_SUITE" = "spec:java
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-beta
sudo apt-get install -y google-chrome-beta
echo
fi

Expand All @@ -21,6 +21,10 @@ if [ -n "$ACT" ]; then
curl -o- -L https://yarnpkg.com/install.sh | bash
echo "$HOME/.yarn/bin" >> $GITHUB_PATH
echo "$HOME/.config/yarn/global/node_modules/.bin" >> $GITHUB_PATH

# Install cmake so we can build rugged gem
sudo apt-get install -y cmake
echo
fi

gem_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)"
Expand Down
20 changes: 0 additions & 20 deletions config/jasmine_overrides.rb

This file was deleted.

0 comments on commit 9c4e0b0

Please sign in to comment.