Create new endpoint in Testflinger Server to authenticate clients and distribute tokens for submitting jobs with priority #362
Workflow file for this run
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: "[server] Run unit tests" | |
on: | |
push: | |
branches: [ main, try-self-hosted ] | |
paths: | |
- server/** | |
pull_request: | |
branches: [ main ] | |
paths: | |
- server/** | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: server | |
runs-on: [self-hosted, linux, jammy, X64] | |
strategy: | |
matrix: | |
python: ["3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox | |
run: pip install tox | |
- name: Run tests | |
run: | | |
tox |