From 934cfbcc6438faa34973d9612dd3f59e6f1a14ce Mon Sep 17 00:00:00 2001 From: Chris Shin Date: Fri, 12 Feb 2021 11:42:29 -0800 Subject: [PATCH 1/2] Create pipeline.yaml --- .github/workflows/pipeline.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/pipeline.yaml diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml new file mode 100644 index 000000000..423b37ddb --- /dev/null +++ b/.github/workflows/pipeline.yaml @@ -0,0 +1,28 @@ +name: Python package + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.5, 3.6, 3.7, 3.8] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pycodestyle pytest + - name: Lint with pycodestyle + run: | + pycodestyle tableauserverclient test samples + - name: Test with pytest + run: | + pytest From 182a6d051ae22b98a09dde60ab0b6b4a00ad5f48 Mon Sep 17 00:00:00 2001 From: Chris Shin Date: Fri, 12 Feb 2021 11:45:25 -0800 Subject: [PATCH 2/2] Update pipeline.yaml --- .github/workflows/pipeline.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 423b37ddb..4d00632ee 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -19,6 +19,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + python setup.py test pip install pycodestyle pytest - name: Lint with pycodestyle run: |