Update server.py #74
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: | |
- test # specify the branch you want to trigger on | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: testing | |
strategy: | |
matrix: | |
python: [3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- name: Setup Python | |
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install Tox | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Run Tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py | |
env: | |
TSS_USERNAME: ${{ secrets.TSS_USERNAME }} | |
TSS_PASSWORD: ${{ secrets.TSS_PASSWORD }} | |
TSS_TENANT: ${{ secrets.TSS_TENANT }} | |
TSS_SECRET_ID: ${{ secrets.TSS_SECRET_ID }} | |
TSS_SECRET_PATH: ${{ secrets.TSS_SECRET_PATH }} | |
TSS_FOLDER_ID: ${{ secrets.TSS_FOLDER_ID }} |