-
Notifications
You must be signed in to change notification settings - Fork 15
36 lines (30 loc) · 1.01 KB
/
run_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Run Tests
on: [pull_request]
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 }}
TSS_FOLDER_PATH: ${{ secrets.TSS_FOLDER_PATH }}