Skip to content

Differentiate the names for each of the tox runs in github #5

Differentiate the names for each of the tox runs in github

Differentiate the names for each of the tox runs in github #5

Workflow file for this run

name: [agent] Run unit tests

Check failure on line 1 in .github/workflows/agent-tox.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/agent-tox.yml

Invalid workflow file

You have an error in your yaml syntax
on:
push:
branches: [ main ]
paths:
- agent/**
pull_request:
branches: [ main ]
paths:
- agent/**
jobs:
build:
defaults:
run:
working-directory: agent
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Run tests
run: |
tox