name: Test MacOS on: workflow_call: inputs: distro-slug: type: string required: true description: The Distribution Slug display-name: type: string required: true description: The Display Name For The Job runs-on: type: string required: true description: The GitHub MacOS Worker To Run Workflow On instances: type: string required: true description: The Instances To Test timeout: type: number required: false default: 20 description: The timeout(in minutes) for the workflow jobs: Test: name: ${{ matrix.instance }} ## runs-on: ${{ inputs.runs-on }} runs-on: macos-13 timeout-minutes: ${{ inputs.timeout }} strategy: fail-fast: false matrix: instance: ${{ fromJSON(inputs.instances) }} steps: - uses: actions/checkout@v4 - name: Install Pytest run: | pip install -U pytest ## TBD Disabled until CI/CD is functional ## - name: Bootstrap Salt ## run: | ## sudo sh -x ./bootstrap-salt.sh ## - name: Test Bootstrap ## run: | ## pytest --cache-clear -v -s -ra --log-cli-level=debug tests/integration/ - name: Set Exit Status if: always() run: | mkdir exitstatus echo "${{ job.status }}" > exitstatus/${{ github.job }}-${{ matrix.instance }}-${{ inputs.distro-slug }} - name: Upload Exit Status if: always() uses: actions/upload-artifact@v4 with: name: exitstatus-${{ github.job }}-${{ matrix.instance }}-${{ inputs.distro-slug }} path: exitstatus/