-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 907 Bytes
/
parallel_ci.yml
File metadata and controls
39 lines (36 loc) · 907 Bytes
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
34
35
36
37
38
39
name: Parallel CI
on:
workflow_call:
jobs:
parallel-test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
services:
memcached:
image: memcached:1.6.32
ports:
- 11211/udp
env:
LOG_LEVEL: "error"
MYSQL_HOST: "127.0.0.1"
MYSQL_DATABASE: datacite
MYSQL_USER: root
ES_HOST: "localhost:9200"
ELASTIC_PASSWORD: "AnUnsecurePassword123"
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "4.0.1"
bundler-cache: true
- name: Run Specs
run: bundle exec rspec
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Security Check
run: |
bundle exec bundler-audit check --update
bundle exec brakeman --no-pager