Update test.yml
This commit is contained in:
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -34,13 +34,13 @@ jobs:
|
|||||||
run: chown -R netdisco:netdisco /github/workspace/netdisco/netdisco
|
run: chown -R netdisco:netdisco /github/workspace/netdisco/netdisco
|
||||||
- name: Install Perl deps
|
- name: Install Perl deps
|
||||||
run: sudo -u netdisco /home/netdisco/bin/localenv cpanm --notest Env::Path Test::Compile
|
run: sudo -u netdisco /home/netdisco/bin/localenv cpanm --notest Env::Path Test::Compile
|
||||||
- name: Run Tests
|
|
||||||
run: |
|
|
||||||
sudo -u netdisco /home/netdisco/bin/localenv perl ./Build.PL
|
|
||||||
sudo -u netdisco /home/netdisco/bin/localenv ./Build test --test_files xt/
|
|
||||||
working-directory: /github/workspace/netdisco/netdisco
|
|
||||||
- name: Setup tmate session
|
- name: Setup tmate session
|
||||||
uses: mxschmitt/action-tmate@v3
|
uses: mxschmitt/action-tmate@v3
|
||||||
with:
|
with:
|
||||||
sudo: true
|
sudo: true
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}.
|
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}.
|
||||||
|
- name: Run Tests
|
||||||
|
run: |
|
||||||
|
sudo -u netdisco /home/netdisco/bin/localenv perl ./Build.PL
|
||||||
|
sudo -u netdisco /home/netdisco/bin/localenv ./Build test --test_files xt/
|
||||||
|
working-directory: /github/workspace/netdisco/netdisco
|
||||||
|
|||||||
Reference in New Issue
Block a user