Skip to content

Update inputs, Switch to poetry, Add test #1

Update inputs, Switch to poetry, Add test

Update inputs, Switch to poetry, Add test #1

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
run: poetry run pytest -rP -o log_cli=true
env:
INPUT_DBT_CLOUD_SERVICE_TOKEN: ${{ secrets.DBT_CLOUD_SERVICE_TOKEN }}
INPUT_DBT_CLOUD_ACCOUNT_ID: ${{ secrets.DBT_CLOUD_ACCOUNT_ID }}
INPUT_DBT_CLOUD_JOB_ID: ${{ secrets.DBT_CLOUD_JOB_ID }}
GITHUB_REPOSITORY: "dpguthrie/upstream-project"
GITHUB_REF: "refs/pull/21/main"
GIT_SHA_SUCCESS: ${{ secrets.GIT_SHA_SUCCESS }}
GIT_SHA_FAILURE: ${{ secrets.GIT_SHA_FAILURE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}