Skip to content

Commit 5cde56f

Browse files
committed
feat: Add GitHub Actions workflow for running tests and update parameter direction resources
1 parent c032b6a commit 5cde56f

File tree

3 files changed

+43
-12
lines changed

3 files changed

+43
-12
lines changed

.github/workflows/run-tests.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build-and-test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- name: Set up Node.js
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version: '14.x'
16+
17+
- name: Install Node.js dependencies
18+
run: npm install
19+
20+
- name: Build Project
21+
run: npm run build
22+
23+
- name: Set up Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: '2.7'
27+
28+
- name: Install Ruby dependencies
29+
run: bundle install
30+
31+
- name: Run Tests
32+
run: bundle exec rake test

resources/iso_parameterDirection.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
codelistType: "staticList"
2+
codelistName: "iso_parameterDirection"
3+
source: "ISO"
4+
sourceName: "SV_ParameterDirection"
5+
extensible: true
6+
description: "class of information to which the referencing entity applies"
7+
codelist:
8+
- {code: "001", codeName: in, description: "the parameter is an input parameter to the service instance"}
9+
- {code: "002", codeName: out, description: "the parameter is an output parameter to the service instance"}
10+
- {code: "003", codeName: in/out, description: "the parameter is both an input and output parameter to the service instance"}
11+

resources/iso_parameterDirectionCode.yml

-12
This file was deleted.

0 commit comments

Comments
 (0)