File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Test Workflow
2+
23on :
34 push :
45 branches :
@@ -42,14 +43,12 @@ jobs:
4243 - name : Check if Backend Test Files Exist
4344 id : check_backend_tests
4445 run : |
45-
4646 if [ -z "$(find src/ContentProcessorAPI/app/tests -type f -name 'test_*.py')" ]; then
4747 echo "No backend test files found, skipping backend tests."
4848 echo "skip_backend_tests=true" >> $GITHUB_ENV
4949 else
5050 echo "Backend test files found, running tests."
5151 echo "skip_backend_tests=false" >> $GITHUB_ENV
52- fi
5352
5453 - name : Run Backend Tests with Coverage
5554 if : env.skip_backend_tests == 'false'
@@ -59,16 +58,15 @@ jobs:
5958
6059 - name : Skip Backend Tests
6160 if : env.skip_backend_tests == 'true'
62- run : |
63- echo "Skipping backend tests because no test files were found."
61+ run : echo "Skipping backend tests because no test files were found."
6462
6563 # frontend_tests:
6664 # runs-on: ubuntu-latest
67-
65+ #
6866 # steps:
6967 # - name: Checkout code
7068 # uses: actions/checkout@v3
71-
69+ #
7270 # - name: Set up Node.js
7371 # uses: actions/setup-node@v3
7472 # with:
You can’t perform that action at this time.
0 commit comments