Skip to content

Commit b459994

Browse files
authored
Merge pull request #885 from tableau/bcantoni-update-environments
Update CI pipeline to test on Mac and Win, add early support for Python 3.10
2 parents 13614e7 + 1ea39c2 commit b459994

File tree

4 files changed

+50
-5
lines changed

4 files changed

+50
-5
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report or request for help
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Versions**
14+
Details of your environment, including:
15+
- Tableau Server version (or note if using Tableau Online)
16+
- Python version
17+
- TSC library version
18+
19+
**To Reproduce**
20+
Steps to reproduce the behavior. Please include a code snippet where possible.
21+
22+
**Results**
23+
What are the results or error messages received?
24+
25+
**NOTE:** Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

.github/workflows/run-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
name: Python package
1+
name: Python tests
22

33
on: [push]
44

55
jobs:
66
build:
7-
8-
runs-on: ubuntu-latest
97
strategy:
108
fail-fast: false
119
matrix:
12-
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10.0-rc.2]
12+
13+
runs-on: ${{ matrix.os }}
1314

1415
steps:
1516
- uses: actions/checkout@v2
1617

17-
- name: Set up Python ${{ matrix.python-version }}
18+
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
1819
uses: actions/setup-python@v2
1920
with:
2021
python-version: ${{ matrix.python-version }}

.github/workflows/slack.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 💬 Send Message to Slack 🚀
2+
3+
on: [push, pull_request, issues]
4+
5+
jobs:
6+
slack-notifications:
7+
runs-on: ubuntu-20.04
8+
name: Sends a message to Slack when a push, a pull request or an issue is made
9+
steps:
10+
- name: Send message to Slack API
11+
uses: archive/github-actions-slack@v2.2.2
12+
id: notify
13+
with:
14+
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
15+
slack-channel: C019HCX84L9
16+
slack-text: Hello! Event "${{ github.event_name }}" in "${{ github.repository }}" 🤓
17+
- name: Result from "Send Message"
18+
run: echo "The result was ${{ steps.notify.outputs.slack-result }}"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ This repository contains Python source code and sample files. Python versions 3.
1212

1313
For more information on installing and using TSC, see the documentation:
1414
<https://tableau.github.io/server-client-python/docs/>
15+

0 commit comments

Comments
 (0)