Skip to content

Firefox: Allow to specify the custom location to Firefox binary (#45) #101

Firefox: Allow to specify the custom location to Firefox binary (#45)

Firefox: Allow to specify the custom location to Firefox binary (#45) #101

Workflow file for this run

name: Specs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
check_format:
strategy:
fail-fast: false
runs-on: ubuntu-latest
continue-on-error: false
steps:
- name: Download source
uses: actions/checkout@v3
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install shards
run: shards install
- name: Format
run: crystal tool format --check
- name: Crystal Ameba Linter
id: crystal-ameba
uses: crystal-ameba/github-action@v0.7.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
verify-chrome:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
crystal: latest
- os: windows-latest
crystal: latest
- os: macos-latest
crystal: latest
runs-on: ${{ matrix.os }}
continue-on-error: false
steps:
- uses: actions/checkout@v3
- uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal_version }}
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
if: matrix.os == 'windows-latest'
- name: Install dependencies
run: shards install --ignore-crystal-version --skip-executables --skip-postinstall
- name: Run tests
run: crystal spec --tag "~chrome"
env:
SELENIUM_BROWSER: chrome