-
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 890 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
SHIPYRD_SECRET_KEY_BASE: 823676323609aa7429ad867c12e77d1a4e2af30c764d51ad9db913efa4cf27742cc654fcfe7d9031d2d46c4be57f93bce05b9f81aefa65fad58999c0c2aaba71
SHIPYRD_ENCRYPTION_PRIMARY_KEY: 823676323609aa7429ad867c12e77d1a4e2af3
SHIPYRD_ENCRYPTION_DETERMINISTIC_KEY: 823676323609aa7429ad867c12e77d1a4e2af3
SHIPYRD_ENCRYPTION_KEY_DERIVATION_SALT: 823676323609aa7429ad867c12e77d1a4e2af3
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rails db:prepare
- run: bundle exec rails test
- run: bundle exec rails test:system
- run: bundle exec standardrb
- run: bundle exec brakeman
- run: bin/audit