From 9c76aeb4c90f4f1bec610ddd6344612fa9f316f3 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Wed, 15 Jan 2025 08:46:16 +0400 Subject: [PATCH] remove TESTS_FOLDER --- .env | 1 - .github/workflows/ci.yml | 5 +---- .github/workflows/pre-commit.yml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.env b/.env index 540eb8c..bdbd8a0 100644 --- a/.env +++ b/.env @@ -1,2 +1 @@ SOURCE_FOLDER=src/cvx -TESTS_FOLDER=src/tests diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cf6098..e62a335 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,7 @@ jobs: - name: Checkout [${{ github.repository }}] uses: actions/checkout@v4 - - name: Load .env file - uses: xom9ikk/dotenv@v2 # Dedicated action for loading .env files - - uses: cvxgrp/.github/actions/uv/test@v2.0.3 with: python-version: ${{ matrix.python-version }} - tests-folder: ${{ env.TESTS_FOLDER }} + tests-folder: src/tests diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 11a0048..946fe7d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -16,7 +16,7 @@ jobs: - uses: cvxgrp/.github/actions/uv/coverage@v2.0.3 with: source-folder: ${{ env.SOURCE_FOLDER }} - tests-folder: ${{ env.TESTS_FOLDER }} + tests-folder: src/tests - name: Coveralls GitHub Action uses: coverallsapp/github-action@v2