Implement method to retrieve logs for Chrome #109
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: latest | |
- name: Install shards | |
run: shards install | |
- name: Format | |
run: crystal tool format --check | |
- name: Crystal Ameba Linter | |
run: ./bin/ameba | |
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@v4 | |
- 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 |