mirror of
https://github.com/google/glazier.git
synced 2026-04-05 14:00:01 -04:00
21 lines
578 B
YAML
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
|