run formatter, add stub test #223
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
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it | |
- uses: actions/checkout@v2 | |
- name: Setup Bazel | |
uses: abhinavsingh/setup-bazel@v3 | |
with: | |
# Bazel version to install e.g. 1.2.1, 2.0.0, ... | |
version: 5.1.0 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Run tests | |
run: bazel test //... | |
env: | |
PYTHONIOENCODING: utf8 |