Files
glazier/.github/workflows/python_tests.yml
Matt LaPlante 337c40159c update python actions to v3
PiperOrigin-RevId: 531193278
2023-05-11 07:16:54 -07:00

21 lines
573 B
YAML

name: Python Tests
on: [push, pull_request]
jobs:
python_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
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