diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml new file mode 100644 index 000000000..e5ddd0d5f --- /dev/null +++ b/.github/workflows/ci_test.yml @@ -0,0 +1,19 @@ +name: CI + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-16.04 + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: '3.6' + architecture: 'x64' + - name: 'Install Format tools' + run: pip install --upgrade pip setuptools wheel yapf; sudo apt-get install -y clang-format + - name: 'Format Check' + run: find tensorflow_quantum/ -iname *.h -o -iname *.cc | xargs clang-format -style=google -output-replacements-xml