Skip to content

Jw/snow 3349955 handle empty passphrases (#2893) #346

Jw/snow 3349955 handle empty passphrases (#2893)

Jw/snow 3349955 handle empty passphrases (#2893) #346

name: Integration tests using container services
on:
pull_request:
branches:
- release*
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
branches:
- main
- features/*
repository_dispatch:
types: [ok-to-test-command]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
issues: write
jobs:
define-matrix:
uses: ./.github/workflows/matrix.yaml
# Branch-based pull request
spcs-integration-trusted:
needs: define-matrix
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
if: |
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) ||
(github.event_name == 'push' && github.ref == 'refs/heads/main')
uses: ./.github/workflows/test_trusted.yaml
with:
runs-on: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
python-env: integration
hatch-run: integration:test_container_services
secrets: inherit
# Repo owner has commented /ok-to-test on a (fork-based) pull request
spcs-integration-fork:
needs: define-matrix
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
permissions:
pull-requests: write
checks: write
if: |
github.event_name == 'repository_dispatch' &&
github.event.client_payload.slash_command.args.named.sha != '' &&
contains(
github.event.client_payload.pull_request.head.sha,
github.event.client_payload.slash_command.args.named.sha
)
uses: ./.github/workflows/test_fork.yaml

Check failure on line 67 in .github/workflows/test_integration_container_services.yaml

View workflow run for this annotation

GitHub Actions / Integration tests using container services

Invalid workflow file

The workflow is not valid. .github/workflows/test_integration_container_services.yaml (Line: 67, Col: 11): Input job-name is required, but not provided while calling.
with:
runs-on: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
python-env: integration
hatch-run: integration:test_container_services
secrets: inherit