Provision error logs (#310) #426
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: "[agent] Run unit tests" | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- agent/** | |
pull_request: | |
branches: [ main ] | |
paths: | |
- agent/** | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: agent | |
runs-on: [self-hosted, linux, jammy, X64] | |
strategy: | |
matrix: | |
python: ["3.8.12", "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 |