diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3c433123..a61b94e6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -52,8 +52,8 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 + # - name: Autobuild + # uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -66,5 +66,19 @@ jobs: # make bootstrap # make release + - name: Build and install pyodbc + run: | + cd "$GITHUB_WORKSPACE" + echo "*** current python version" + python -VV + echo "*** pip install" + python -m pip install . + echo "*** pip freeze" + python -m pip freeze --all + echo "*** pyodbc version" + python -c "import pyodbc; print(pyodbc.version)" + echo "*** pyodbc drivers" + python -c "import pyodbc; print('\n'.join(sorted(pyodbc.drivers())))" + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2