-
Notifications
You must be signed in to change notification settings - Fork 15
23 lines (23 loc) · 778 Bytes
/
CI.yml
File metadata and controls
23 lines (23 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Continuous Integration
on: pull_request
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Build
run: |
docker build -t slack/hack-json-schema .
- name: Install
run: |
docker run -v `pwd`:/app slack/hack-json-schema composer install
- name: Typecheck
run: |
docker run -v `pwd`:/app slack/hack-json-schema hh_client
- name: Test
run: |
docker run -v `pwd`:/app slack/hack-json-schema ./vendor/bin/hacktest tests