From ae0dafbe591b0a3bfe178289a7b82385b0832426 Mon Sep 17 00:00:00 2001 From: Travis Dent Date: Fri, 31 Jan 2025 17:12:23 -0800 Subject: [PATCH 1/2] Add alias to run only 3.12 tests with `tox -m quick` --- tox.ini | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index a85fea7f..31e29214 100644 --- a/tox.ini +++ b/tox.ini @@ -1,16 +1,17 @@ # Adding a New Framework -# modify `envlist`, add extras to install optional-dependencies, and add a new -# `TEST_FRAMEWORK` section to `setenv`. +# modify `envlist`, modify `labels`, add extras to install optional-dependencies, +# and add a new `TEST_FRAMEWORK` section to `setenv`. # Developers -# run just 3.12 tests with `tox -epy312-crewai,py312-langgraph,py312-openai_swarm,report` -# TODO I have not found a way to alias this, yet. +# run just 3.12 tests with `tox -m quick` # Coverage # codecov is configured to run on all frameworks and then be combined at the end. [tox] envlist = py{310,311,312}-{crewai,langgraph,openai_swarm} +labels = + quick = py312-{crewai,langgraph,openai_swarm,report} [gh-actions] # converts python versions to tox envlist values for github actions From 37156663cf12643e6780af7c9339f88c90f9aedc Mon Sep 17 00:00:00 2001 From: Travis Dent Date: Fri, 31 Jan 2025 17:18:44 -0800 Subject: [PATCH 2/2] Fix report command. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 31e29214..85ea3dfc 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ [tox] envlist = py{310,311,312}-{crewai,langgraph,openai_swarm} labels = - quick = py312-{crewai,langgraph,openai_swarm,report} + quick = py312-{crewai,langgraph,openai_swarm},report [gh-actions] # converts python versions to tox envlist values for github actions