From e31ad9fe376b15dedbdc06e441f1268d6a720469 Mon Sep 17 00:00:00 2001 From: isabelizimm Date: Tue, 13 Dec 2022 09:58:16 -0500 Subject: [PATCH] only run necessary tests for each pkg --- .github/workflows/weekly.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 60fb5277..18b7d352 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -45,10 +45,7 @@ jobs: - name: Run tests run: | - pytest - - - name: Upload coverage - uses: codecov/codecov-action@v2 + make test vetiver_pypi_pins_main: name: 'vetiver pypi, pins main' @@ -95,7 +92,7 @@ jobs: - name: Run Tests run: | - pytest + make test vetiver_pypi_rsconnect_latest: name: 'vetiver pypi, rsconnect latest' @@ -130,6 +127,7 @@ jobs: python -m pip install --upgrade pip python -m pip install .[dev] python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python + pip freeze > requirements.txt - name: run RStudio Connect run: | @@ -141,7 +139,7 @@ jobs: - name: Run Tests run: | - pytest + pytest -m 'rsc_test' vetiver_latest_rsconnect_latest: name: 'vetiver latest, rsconnect latest' @@ -164,6 +162,7 @@ jobs: python -m pip install --upgrade pip python -m pip install '.[all]' python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python + pip freeze > requirements.txt - name: run RStudio Connect run: | @@ -175,4 +174,4 @@ jobs: - name: Run Tests run: | - pytest + pytest -m 'rsc_test'