diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..47f24e1 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,30 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" diff --git a/.github/workflows/test-pypi-publish.yml b/.github/workflows/test-pypi-publish.yml new file mode 100644 index 0000000..fd79d6b --- /dev/null +++ b/.github/workflows/test-pypi-publish.yml @@ -0,0 +1,35 @@ +name: Publish to Test-Py-Pi + +on: + workflow_dispatch: + release: + types: [created] + +jobs: + build: + + environment: + name: test-pypi + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.9] + + 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 + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Package + run: | + python setup.py sdist + - name: Publish 📦 to Test PyPI + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.Test_PyPI_token }} + repository_url: https://test.pypi.org/legacy/ diff --git a/docs/docs/api-ref.md b/docs/docs/api-ref.md index cf6bc96..96fa9fb 100644 --- a/docs/docs/api-ref.md +++ b/docs/docs/api-ref.md @@ -30,7 +30,7 @@ Saves any changes to the workbook to the existing file. `Workbook.save_as(self, new_filename):` Saves any changes to the workbook to a new file specified by the `new_file` parameter. -**Properities:** +**Properties:** `self.worksheets:` Returns a list of worksheets found in the workbook. @@ -56,7 +56,7 @@ The Connection class represents a tableau data connection. It can be from any ty **Methods:** -**Properities:** +**Properties:** `self.server:` Returns a string containing the server. diff --git a/docs/docs/contributing.md b/docs/docs/contributing.md index ee94e99..abd8faf 100644 --- a/docs/docs/contributing.md +++ b/docs/docs/contributing.md @@ -21,7 +21,7 @@ a feature do not require the CLA. To submit an issue/bug report, or to request a feature, please submit a [github issue](https://github.com/tableau/document-api-python/issues) to the repo. -If you are submiting a bug report, please provide as much information as you can, including clear and concise repro steps, attaching any necessary +If you are submitting a bug report, please provide as much information as you can, including clear and concise repro steps, attaching any necessary files to assist in the repro. **Be sure to scrub the files of any potentially sensitive information. Issues are public.** For a feature request, please try to describe the scenario you are trying to accomplish that requires the feature. This will help us understand