Merge pull request #33 from City-of-Helsinki/UHF-10819 #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
paths: | |
- '!**.md' | |
- 'openshift/drupal/**' | |
- '.github/workflows/php-openshift.yml' | |
push: | |
branches: [ main ] | |
paths: | |
- '!**.md' | |
- 'openshift/drupal/**' | |
- '.github/workflows/php-openshift.yml' | |
jobs: | |
php-openshift: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
image: tonistiigi/binfmt:latest | |
platforms: amd64,arm64 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Install CST | |
run: | | |
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test-linux-amd64 && \ | |
chmod +x container-structure-test-linux-amd64 && \ | |
sudo mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test | |
- name: Run tests | |
working-directory: openshift/drupal | |
run: make test-php |