Sync with the internal repo #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies and run tests with a variety of Python versions | |
name: Python Unit CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.7, 3.8, 3.9, '3.10', '3.11'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Python ${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: python -m pip install tox | |
- name: Test | |
run: python -m tox -e py |