-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- okay they run again, but uploading isn't working still. trying another method.
- Loading branch information
1 parent
f1652ba
commit b964e5b
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,38 +100,44 @@ jobs: | |
linux: | | ||
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; | ||
macos: | | ||
cd /Users/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; | ||
- name: Run Integration Tests "usm_unknown_security_name_counter" | ||
uses: carlkidcrypto/[email protected] | ||
with: | ||
linux: | | ||
cd /home/runner/work/ezsnmp/ezsnmp/integration_tests; | ||
./run_integration_tests.sh | grep "usm_unknown_security_name_counter:" > usm_unknown_security_name_counter_${{matrix.os}}_${{matrix.python-version}}.log; | ||
echo "artifactPath2=/home/runner/work/ezsnmp/ezsnmp/integration_tests/usm_unknown_security_name_counter_${{matrix.os}}_${{matrix.python-version}}.log" >> $GITHUB_ENV; | ||
macos: | | ||
cd /Users/runner/work/ezsnmp/ezsnmp/integration_tests; | ||
./run_integration_tests.sh | grep "usm_unknown_security_name_counter:" > usm_unknown_security_name_counter_${{matrix.os}}_${{matrix.python-version}}.log; | ||
echo "artifactPath2=/home/runner/work/ezsnmp/ezsnmp/integration_tests/usm_unknown_security_name_counter_${{matrix.os}}_${{matrix.python-version}}.log" >> $GITHUB_ENV; | ||
- name: Run Integration Tests "connection_error_counter" | ||
uses: carlkidcrypto/[email protected] | ||
with: | ||
linux: | | ||
cd /home/runner/work/ezsnmp/ezsnmp/integration_tests; | ||
./run_integration_tests.sh | grep "connection_error_counter:" > connection_error_counter_${{matrix.os}}_${{matrix.python-version}}.log; | ||
echo "artifactPath3=/home/runner/work/ezsnmp/ezsnmp/integration_tests/connection_error_counter_${{matrix.os}}_${{matrix.python-version}}.log" >> $GITHUB_ENV; | ||
macos: | | ||
cd /Users/runner/work/ezsnmp/ezsnmp/integration_tests; | ||
./run_integration_tests.sh | grep "connection_error_counter:" > connection_error_counter_${{matrix.os}}_${{matrix.python-version}}.log; | ||
echo "artifactPath3=/home/runner/work/ezsnmp/ezsnmp/integration_tests/connection_error_counter_${{matrix.os}}_${{matrix.python-version}}.log" >> $GITHUB_ENV; | ||
- name: Upload Integration Test Results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: integration-test-results_${{matrix.os}}_${{matrix.python-version}} | ||
path: | ||
/**total_execution_time_${{matrix.os}}_${{matrix.python-version}}.log**/ | ||
/**usm_unknown_security_name_counter_${{matrix.os}}_${{matrix.python-version}}.log**/ | ||
/**connection_error_counter_${{matrix.os}}_${{matrix.python-version}}.log**/ | ||
path: | | ||
${{ env.artifactPath1 }} | ||
${{ env.artifactPath2 }} | ||
${{ env.artifactPath3 }} |