-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (31 loc) 路 908 Bytes
/
Copy pathrun_tests.yml
File metadata and controls
38 lines (31 loc) 路 908 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
name: _run-tests
on:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
# The unit lane declares no environment and receives no credentials. Keep it that way: a
# fork PR gets no secrets and still goes green, and a live spec added outside
# spec/integration/ fails here instead of passing against someone else's Stream app.
jobs:
unit:
name: 馃И Unit tests & code quality
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.0'
bundler-cache: true
- name: Run unit tests
run: make test
- name: Run code quality checks
run: |
make format-check
make lint
make security