30 lines
812 B
YAML
30 lines
812 B
YAML
on: [push]
|
|
env:
|
|
SELENIUM_REMOTE_URL: http://chrome:4444/wd/hub
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
name: Text
|
|
container: code.hohl.cloud/jwa11y/a11yist:ci
|
|
services:
|
|
chrome:
|
|
image: selenium/standalone-chrome
|
|
steps:
|
|
- name: Cache repository
|
|
uses: actions/cache@v4
|
|
id: cache-repository
|
|
with:
|
|
path: .
|
|
key: ${{ runner.os }}-repository-${{ github.sha }}
|
|
restore-keys: |
|
|
${{ runner.os }}-repository-
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
path: .
|
|
submodules: recursive
|
|
- run: bundle install
|
|
- run: mv /app/node_modules .
|
|
- run: pwd && ls -la && ls -la /app
|
|
- run: bundle exec rails test
|
|
- run: bundle exec rails test:system
|