-
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (42 loc) · 1.17 KB
/
ci.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
34
35
36
37
38
39
40
41
42
name: ci
on:
push:
branches: [ main ]
pull_request:
branches:
- '**'
paths-ignore:
- '**/**.md'
jobs:
run-parse-server-ci:
name: CI of Parse Server ${{ matrix.version }}
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
version: ['5.6.0', '6.3.1']
steps:
- name: Checkout parse-server ${{ matrix.version }}
uses: actions/checkout@v2
with:
repository: parse-community/parse-server
ref: ${{ matrix.version }}
path: parse-server
- name: Create Oracle Storage Adapter Dir
run: mkdir parse-server/src/Adapters/Storage/Oracle;
ls -la parse-server/src/Adapters/Storage/Oracle;
- name: Checkout Oracle Storage Adapter
uses: actions/checkout@v2
with:
repository: oracle-samples/oracleadapter-parse
ref: ''
path: parse-server/src/Adapters/Storage/Oracle
- name: Validate Oracle Dir
run: ls -la parse-server/src/Adapters/Storage/Oracle;
- name: Run Tests
run: cd parse-server;
npm install;
npm run test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true