This commit is contained in:
Abhishek Arya 2020-07-15 09:46:24 -07:00 committed by GitHub
parent 26dcd1ac18
commit cfb18fbea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 11 deletions

View File

@ -17,10 +17,11 @@ jobs:
- name: Setup python environment
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r infra/ci/requirements.txt
pip install -r infra/build/functions/requirements.txt
@ -31,7 +32,6 @@ jobs:
gcloud components install beta cloud-datastore-emulator
gcloud info
- name: Run infra tests
run: python infra/presubmit.py infra-tests

View File

@ -14,10 +14,11 @@ jobs:
- name: Setup python environment
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r infra/ci/requirements.txt
pip install -r infra/build/functions/requirements.txt

View File

@ -54,10 +54,12 @@ jobs:
- name: Setup python environment
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: pip install -r infra/ci/requirements.txt
run: |
python -m pip install --upgrade pip
pip install -r infra/ci/requirements.txt
- name: Run project tests
run: python infra/ci/build.py

View File

@ -88,7 +88,7 @@ def check_build(project, engine, sanitizer, architecture):
def should_build(project_yaml):
"""Is the build specified by travis enabled in the |project_yaml|?"""
"""Return bool on if the build specified is enabled in the project.yaml."""
def is_enabled(env_var, yaml_name, defaults):
"""Is the value of |env_var| enabled in |project_yaml| (in the |yaml_name|
@ -139,7 +139,7 @@ def build_project(project):
def main():
"""Build modified projects on travis."""
"""Build modified projects."""
projects = get_modified_buildable_projects()
failed_projects = []
for project in projects:

View File

@ -1,6 +1,6 @@
# Requirements for submitting code changes to infra/ (needed by presubmit.py).
pylint==2.4.4
yapf==0.28.0
PyYAML==5.1
pyfakefs==3.7.1
parameterized==0.7.4
pyfakefs==4.1.0
pylint==2.5.3
PyYAML==5.3.1
yapf==0.30.0