Refactor conditional for sssd testing (#22053)

This commit is contained in:
Stian Thorgersen
2023-07-28 12:09:44 +02:00
committed by GitHub
parent 7fa43fe4c5
commit 0decccc4fa
2 changed files with 4 additions and 8 deletions

View File

@@ -500,28 +500,25 @@ jobs:
sssd-unit-tests:
name: SSSD
runs-on: ubuntu-latest
if: needs.conditional.outputs.sssd == 'true'
needs:
- conditional
- build
timeout-minutes: 30
steps:
- name: checkout
if: ${{ needs.conditional.outputs.sssd == 'true' }}
uses: actions/checkout@v3
- id: integration-test-setup
if: ${{ needs.conditional.outputs.sssd == 'true' }}
name: Integration test setup
uses: ./.github/actions/integration-test-setup
- id: weekly-cache-key
if: ${{ needs.conditional.outputs.sssd == 'true' }}
name: Key for weekly rotation of cache
shell: bash
run: echo "key=ipa-data-`date -u "+%Y-%U"`" >> $GITHUB_OUTPUT
- id: cache-maven-repository
if: ${{ needs.conditional.outputs.sssd == 'true' }}
name: ipa-data cache
uses: actions/cache@v3
with:
@@ -529,7 +526,6 @@ jobs:
key: ${{ steps.weekly-cache-key.outputs.key }}
- name: Run tests
if: ${{ needs.conditional.outputs.sssd == 'true' }}
run: .github/scripts/run-ipa.sh "${{ github.workspace }}"
migration-tests: