Skip to content

Try using no cache to force update #19

Try using no cache to force update

Try using no cache to force update #19

Workflow file for this run

name: Matrix
on:
push:
branches:
- 'extend-matrix'
workflow_dispatch:
jobs:
CompatibilityMatrix:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image-tag: ['3.12-slim-bullseye']
update-strategy: [default, update, unlocked-install, unpegged-install]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Build
uses: docker/[email protected]
- name: Build current Docker image with tests
run: |
docker build --target test -t zephir-api2:test .
- name: Install and update dependencies
run: |
if [[ "${{ matrix.update-strategy }}" == "default" ]]; then
echo "Running normal test suite"
docker build --build-arg IMAGE_TAG=${{ matrix.image-tag }} --target test -t zephir-api2:test .
elif [[ "${{ matrix.update-strategy }}" == "update" ]]; then
echo "Running normal test with updated dependencies"
docker build --no-cache --build-arg IMAGE_TAG=${{ matrix.image-tag }} --target test-update -t zephir-api2:test .
elif [[ "${{ matrix.update-strategy }}" == "unlocked-install" ]]; then
echo "Running normal test with updated dependencies"
docker build --no-cache --build-arg IMAGE_TAG=${{ matrix.image-tag }} --target test-unlocked-install -t zephir-api2:test .
elif [[ "${{ matrix.update-strategy }}" == "unpegged-install" ]]; then
echo "Running normal test with updated dependencies"
docker build--no-cache --build-arg IMAGE_TAG=${{ matrix.image-tag }} --target test-unpegged-install -t zephir-api2:test .
fi