Skip to content

Commit

Permalink
WIP: for testing
Browse files Browse the repository at this point in the history
* use temporary test branch on ci repo
* run latency test less than 10 min
* don't clean job workdir
  • Loading branch information
Revalioli committed Jan 7, 2025
1 parent 644fb10 commit 556013e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ jobs:
PCAP_LOOP: ${{ github.event_name == 'workflow_call' && inputs.pcap_loop || '60' }}
steps:

- name: Print variables
run: echo "Event name is ${{ github.event_name }}, input pcap_loop is ${{ inputs.pcap_loop }}, PCAP_LOOP is ${{ env.PCAP_LOOP }}"

- name: Initialize sources
run: mkdir ${{ env.WORK_DIR }}; cd ${{ env.WORK_DIR }};
git clone -q --depth 1 --recurse-submodules -b main https://github.com/seapath/ci ci;
git clone -q --depth 1 --recurse-submodules -b improve-latency-tests https://github.com/seapath/ci ci;
echo "CI sources downloaded successfully";
ci/launch-yocto.sh init;

Expand Down Expand Up @@ -72,6 +75,6 @@ jobs:
run: cd ${{ env.WORK_DIR }};
ci/launch-yocto.sh report;

- name: Clean
if: always()
run: rm -rf $WORK_DIR;
# - name: Clean
# if: always()
# run: rm -rf $WORK_DIR;

0 comments on commit 556013e

Please sign in to comment.