From 9c032bceec897b52e61904a68ab453e8d8879023 Mon Sep 17 00:00:00 2001 From: Ivo Danihelka Date: Fri, 4 Mar 2022 09:19:37 -0800 Subject: [PATCH] Internal changes. PiperOrigin-RevId: 432462427 --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..651c912 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: ci + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + build-and-test: + name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}" + runs-on: "${{ matrix.os }}" + + strategy: + matrix: + python-version: ["3.7", "3.8", "3.9"] + os: [ubuntu-latest] + + steps: + - uses: "actions/checkout@v2" + - uses: "actions/setup-python@v1" + with: + python-version: "${{ matrix.python-version }}" + - name: Run CI tests + run: bash test.sh + shell: bash