a11yist/.forgejo/workflows/test.yml

24 lines
609 B
YAML
Raw Normal View History

2024-07-22 22:40:56 +02:00
on: [push]
jobs:
test:
runs-on: docker
name: Text
2024-07-22 23:05:10 +02:00
container: code.hohl.cloud/jwa11y/a11yist:ci
2024-07-22 22:40:56 +02:00
steps:
2024-07-22 22:48:43 +02:00
- name: Cache repository
uses: actions/cache@v4
id: cache-repository
with:
2024-07-22 23:04:02 +02:00
path: .
2024-07-22 22:48:43 +02:00
key: ${{ runner.os }}-repository-${{ github.sha }}
restore-keys: |
2024-07-22 22:51:28 +02:00
${{ runner.os }}-repository-
2024-07-22 22:40:56 +02:00
- name: Checkout repository
uses: actions/checkout@v4
with:
2024-07-22 23:04:02 +02:00
path: .
2024-07-22 22:40:56 +02:00
submodules: recursive
- run: bundle install
2024-07-22 23:10:40 +02:00
- run: pwd && ls -la %% ls -la /app
2024-07-22 22:40:56 +02:00
- run: bundle exec rails test