Skip to content

Update dependency faker to v20 #1932

Update dependency faker to v20

Update dependency faker to v20 #1932

Workflow file for this run

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Run unit tests
on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'version.txt'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8.12]
steps:
- uses: actions/checkout@v2
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: 0.15.1
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 - --preview
- name: Install dependencies
run: poetry install --only pipelines
- name: Initialize Airflow
run: poetry run airflow db init
- name: Run tests
run: poetry run python -m pytest -v tests