Skip to content

Commit

Permalink
Revert "Internal change"
Browse files Browse the repository at this point in the history
This reverts commit 629e98c.
  • Loading branch information
charbull committed Oct 31, 2020
1 parent 629e98c commit 5bb5ebc
Show file tree
Hide file tree
Showing 279 changed files with 41,496 additions and 342 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-ticket.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug Ticket
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**OS (please complete the following information):**
OS where the bug is reported (ubuntu, macos, windows, or others)

**Additional context**
Add any other context about the problem here.
36 changes: 36 additions & 0 deletions .github/workflows/OntologyTypeValidator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow validates the ontology types
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Ontology Type Validator

on:
push:
branches: [ master ]

pull_request:
branches: [ master ]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Ontology Type Yaml Validator Install dependencies
run: |
python setup.py install
working-directory: ./tools/validators/ontology_validator

- name: Ontology Type Yaml Validator Run on Ontology Type Extensions
run: |
python validator.py --original=../../../../ontology/yaml/resources --interactive=False
working-directory: ./tools/validators/ontology_validator/yamlformat
46 changes: 46 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
paths:
- '**.js'
- ./ibr
branches: [ master ]
tags: [ ibr ]
pull_request:
paths:
- '**.js'
- ./ibr
branches: [ master ]
tags: [ ibr ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: ESLint Action
run: npm install && npm run install-linter && npm run lint
working-directory: ./ibr/ibr-sdk/

- name: Build IBR dist package
run: npm run build
working-directory: ./ibr/ibr-sdk/

- name: Tests
run: npm test
working-directory: ./ibr/ibr-sdk/
63 changes: 63 additions & 0 deletions .github/workflows/python_tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Tools

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install Pylint
run: |
python -m pip install pylint
#---------- RDF Generator ----------#
- name: RDF Generator Install dependencies
run: |
python -m pip install --upgrade pip
python setup.py install
working-directory: ./tools/rdf_generator
- name: RDF Generator Tests
run: |
python -m unittest discover -p '*_test.py' --failfast -v
working-directory: ./tools/rdf_generator/rdfformat/tests
- name: Run Pylint on RDF Generator
run: |
pylint --rcfile=./styles/pylintrc ./tools/rdf_generator
#---------- Ontology Yaml Type Validator ----------#
- name: Ontology Yaml Type Validator Install dependencies
run: |
python setup.py install
working-directory: ./tools/validators/ontology_validator
- name: Ontology Yaml Validator Generator Tests
if: (matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest')
run: |
python -m unittest discover -p '*_test.py' --failfast -v
working-directory: ./tools/validators/ontology_validator/yamlformat/tests
#---------- Ontology Yaml Instance Validator ----------#
- name: Instance Yaml Validator Install dependencies
run: |
python setup.py install
working-directory: ./tools/validators/instance_validator
- name: Run Pylint on Instance Validator
run: |
pylint --rcfile=./styles/pylintrc ./tools/validators/instance_validator
- name: Instance Yaml Validator Tests
if: (matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest')
run: |
python -m unittest discover -p '*_test.py' --failfast -v
working-directory: ./tools/validators/instance_validator
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules/*
**/temp/*
**/dist/main.js

*.DS_Store
package-lock.json
yarn.lock
28 changes: 28 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# How to Contribute

We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

## Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution;
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to <https://cla.developers.google.com/> to see
your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one
(even if it was for a different project), you probably don't need to do it
again.

## Code reviews

All submissions, including submissions by project members, require review. We
use GitHub pull requests for this purpose. Consult
[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
information on using pull requests.

## Community Guidelines

This project follows
[Google's Open Source Community Guidelines](https://opensource.google/conduct/).
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
7 changes: 0 additions & 7 deletions google3/third_party/digitalbuildings/BUILD

This file was deleted.

Loading

0 comments on commit 5bb5ebc

Please sign in to comment.