Skip to content

Commit

Permalink
adds step
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasjpr committed Dec 7, 2022
1 parent 5907806 commit 0454b94
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [main]
jobs:
build:
timeout-minutes: 10
timeout-minutes: 15
runs-on: ubuntu-latest
services:
# Label used to access the service container
Expand All @@ -30,8 +30,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: crystal-lang/install-crystal@v1
- uses: browser-actions/setup-geckodriver@latest

- name: Installs Crystal
uses: crystal-lang/install-crystal@v1

- name: Install Geckodriver
run: |
wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
sudo tar -xvf geckodriver-v0.26.0-linux64.tar.gz
sudo mv geckodriver /usr/local/bin/
cd /usr/local/bin/
sudo chmod +x geckodriver
- name: Crystal Ameba Linter
uses: crystal-ameba/[email protected]
Expand All @@ -47,7 +56,6 @@ jobs:
run: shards build

- name: Run tests
uses: browser-actions/setup-geckodriver@latest
run: crystal spec
env:
LOG_LEVEL: "debug"
Expand Down

0 comments on commit 0454b94

Please sign in to comment.