Commit faf676ef authored by Anton Smirnov's avatar Anton Smirnov
Browse files

Test in all versions and on both architectures

parent 7fa8b8f5
Loading
Loading
Loading
Loading
Loading
+13 −15
Original line number Diff line number Diff line
@@ -58,20 +58,18 @@ coverage-upload:
    - codecovcli do-upload --report-type test_results --file reports/junit.xml --token $CODECOV_TOKEN
    - codecovcli upload-process --file reports/coverage.xml --token $CODECOV_TOKEN

# lowest version
test-8.1:
test:
  extends: .test
  stage: test
  image: php:8.1

# lowest bcmath
test-8.4:
  extends: .test
  stage: test
  image: php:8.4

# latest PHP 8
test-8:
  extends: .test
  stage: test
  image: php:8
  image: ${ARCH}/php:${PHP_VERSION}
  parallel:
    matrix:
      - PHP_VERSION:
          - '8.1' # lowest version
          - '8.2'
          - '8.3'
          - '8.4' # lowest bcmath
          - '8'   # latest 8
        ARCH:
          - amd64
          - i386