X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=.github%2Fworkflows%2Fspec.yml;fp=.github%2Fworkflows%2Fspec.yml;h=7da4f3ddf05438dc5d474d116057ddfb20f1c89d;hb=4aed9b74b4f469754e10e313704f1994b0ae4a0f;hp=16f9316035ebb55e47f664f4a07c257e7f16e3eb;hpb=fcb2ba57befedcd24ef33c07cc206158e903dfa3;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml index 16f9316..7da4f3d 100644 --- a/.github/workflows/spec.yml +++ b/.github/workflows/spec.yml @@ -55,6 +55,11 @@ jobs: echo STEP_ID=Setup-Acceptance-Test-Matrix >> $GITHUB_ENV echo STEP_START=$(date +%s) >> $GITHUB_ENV + - name: Run Static & Syntax Tests + if: ${{ github.repository_owner == 'puppetlabs' }} + run: | + buildevents cmd $TRACE_ID $STEP_ID 'static_syntax_checks' -- bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop + - name: Setup Spec Test Matrix id: get-matrix run: | @@ -120,10 +125,6 @@ jobs: buildevents cmd $TRACE_ID $STEP_ID 'bundle env' -- bundle env echo ::endgroup:: - - name: Run Static & Syntax Tests - run: | - buildevents cmd $TRACE_ID $STEP_ID 'static_syntax_checks Puppet ${{ matrix.puppet_version }}, Ruby ${{ matrix.ruby_version }}' -- bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop - - name: Run parallel_spec tests run: | buildevents cmd $TRACE_ID $STEP_ID 'rake parallel_spec Puppet ${{ matrix.puppet_version }}, Ruby ${{ matrix.ruby_version }}' -- bundle exec rake parallel_spec