Files
glazier/.github/workflows/python_tests.yml
Dan Tsekhanskiy 14824242bb Reformat YAML and fix repo in README
PiperOrigin-RevId: 335080873
2020-10-02 12:41:52 -07:00

21 lines
569 B
YAML

name: Python Tests
on: [push, pull_request]
jobs:
python_tests:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test python
run: python -m testing.run_tests