Skip to content

Commit

Permalink
Add simmode, requires, and conflictsWith to schema check (wpilibsuite#52
Browse files Browse the repository at this point in the history
)

Also enables CI on all branches.
  • Loading branch information
rzblue authored Dec 13, 2024
1 parent d49bf43 commit 25235df
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
# Controls when the action will run. Triggers the workflow on push or pull request events
on:
push:
branches: [ main ]
pull_request:

env:
Expand Down
13 changes: 13 additions & 0 deletions check.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,17 @@ def __init__(self, inner):
'uuid': '',
'mavenUrls': [''],
'jsonUrl': '',
'requires': Optional([{
'uuid': '',
'errorMessage': '',
'offlineFileName': '',
'onlineUrl': '',
}]),
'conflictsWith': Optional([{
'uuid': '',
'errorMessage': '',
'offlineFileName': '',
}]),
'javaDependencies': [{
'groupId': '',
'artifactId': '',
Expand All @@ -142,6 +153,7 @@ def __init__(self, inner):
'isJar': False,
'validPlatforms': [''],
'skipInvalidPlatforms': False,
'simMode': Optional(''),
}],
'cppDependencies': [{
'groupId': '',
Expand All @@ -154,6 +166,7 @@ def __init__(self, inner):
'binaryPlatforms': Optional(['']),
'skipInvalidPlatforms': Optional(False),
'sharedLibrary': Optional(False),
'simMode': Optional(''),
}],
}

Expand Down

0 comments on commit 25235df

Please sign in to comment.