Files
glazier/.github/workflows/python_tests.yml
Matt LaPlante 9e5736bba4 Add Python 3.10.
PiperOrigin-RevId: 419454005
2022-01-03 09:52:20 -08:00

21 lines
578 B
YAML

name: Python Tests
on: [push, pull_request]
jobs:
python_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, '3.10']
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