Skip to content

Commit

Permalink
env
Browse files Browse the repository at this point in the history
- adding env vars for linux runners.
  • Loading branch information
carlkidcrypto committed Nov 27, 2024
1 parent e4af85b commit c188b8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
uses: carlkidcrypto/[email protected]
with:
linux: |
export LD_LIBRARY_PATH=$(net-snmp-config --libdir | sed 's/-L//'):$LD_LIBRARY_PATH;
cd /home/runner/work/ezsnmp/ezsnmp/integration_tests;
./run_integration_tests.sh | grep "Total execution time:" > total_execution_time_${{matrix.os}}_${{matrix.python-version}}.log;
echo "artifactPath1=/home/runner/work/ezsnmp/ezsnmp/integration_tests/total_execution_time_${{matrix.os}}_${{matrix.python-version}}.log" >> $GITHUB_ENV;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
)
echo 'PYTHONMALLOC=malloc' >> $GITHUB_OUTPUT
fi
${VALGRIND[@]} python -m pytest ${PYTEST_ARGS[@]} --junitxml=test-results_${{ matrix.os }}_${{ matrix.python-version }}.xml | tee ./test-outputs_${{ matrix.os }}_${{ matrix.python-version }}.txt
LD_LIBRARY_PATH=$(net-snmp-config --libdir | sed 's/-L//'):$LD_LIBRARY_PATH ${VALGRIND[@]} python -m pytest ${PYTEST_ARGS[@]} --junitxml=test-results_${{ matrix.os }}_${{ matrix.python-version }}.xml | tee ./test-outputs_${{ matrix.os }}_${{ matrix.python-version }}.txt
- name: Upload Test Results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c188b8c

Please sign in to comment.