Skip to content

Commit

Permalink
Update integration_tests.yml
Browse files Browse the repository at this point in the history
- okay they run again, but uploading isn't working still. trying another  method.
  • Loading branch information
carlkidcrypto committed Jun 14, 2024
1 parent f1652ba commit b964e5b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit b964e5b

Please sign in to comment.