This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cicd workflow added submodule recursive cicd removed 14 and 16 from tests for now some debugging. fix github ref added specs as a submodule and pointed tests with symbolic link removed debugging steps
- Loading branch information
Showing
9 changed files
with
2,074 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Tests | ||
"on": | ||
push: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
schedule: | ||
- cron: "0 6 * * 0" | ||
|
||
jobs: | ||
test: | ||
name: "Node.js v${{ matrix.node }}" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: | ||
- 18 | ||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "${{ matrix.node }}" | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
ref: ${{ github.ref }} | ||
|
||
- name: "Cache node_modules" | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-v${{ matrix.node }}-${{ hashFiles('**/package.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node-v${{ matrix.node }}- | ||
- name: Install Dependencies | ||
run: npm install | ||
working-directory: ./tests | ||
|
||
- name: Run All Tests | ||
run: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "spec"] | ||
path = spec | ||
url = https://github.com/decentralized-identity/wallet-rendering.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
default: all | ||
|
||
test: | ||
cd tests && npm test | ||
|
||
.PHONY: all | ||
all: $(TARGET) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
spec/test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
Oops, something went wrong.