Require project when initializing the client library, and un-document… #2443
Workflow file for this run
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
name: ci-tests | |
on: [ | |
push, | |
pull_request, | |
workflow_dispatch, # Enables running this workflow manually from the Actions tab. | |
] | |
jobs: | |
build: | |
name: "Python ${{ matrix.python-version }} tests on ${{ matrix.os }}" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [ | |
"3.9", | |
"3.10", | |
"3.11", | |
"3.12", | |
"3.13", | |
] | |
include: | |
- os: macos-latest | |
python-version: "3.11" | |
- os: windows-latest | |
python-version: "3.11" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: Install EE and dependencies | |
run: | | |
pip install ./python[tests] | |
- name: Test | |
run: | | |
python -m unittest discover --pattern="*test.py" --start-directory python/ee/tests |