Skip to content

Commit 639de57

Browse files
committed
Remove behat github action
1 parent 9498493 commit 639de57

File tree

1 file changed

+47
-46
lines changed

1 file changed

+47
-46
lines changed

.github/workflows/tests.yml

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -37,52 +37,53 @@ jobs:
3737
- name: Run tests
3838
run: vendor/bin/phpunit --no-coverage
3939

40-
behat:
41-
name: Tests (Behat with PHP ${{ matrix.php }})
42-
runs-on: ubuntu-latest
43-
44-
services:
45-
redmine-60002:
46-
image: redmine:6.0.2
47-
ports:
48-
- "6002:3000"
49-
env:
50-
# Workaround: Remove secret for Rails 7.2 so it will be generated automatically
51-
# @see https://github.com/docker-library/redmine/issues/349#issuecomment-2516634932
52-
# REDMINE_SECRET_KEY_BASE: supersecretkey
53-
REDMINE_PLUGINS_MIGRATE: true
54-
volumes:
55-
- /home/runner/work/_temp/redmine-60002_data/files:/usr/src/redmine/files
56-
- /home/runner/work/_temp/redmine-60002_data/sqlite:/usr/src/redmine/sqlite
57-
options: --health-cmd="wget -O /dev/null http://localhost:3000" --health-start-period=30s --health-interval=30s --health-timeout=30s --health-retries=3
58-
59-
strategy:
60-
fail-fast: false
61-
matrix:
62-
operating-system: ["ubuntu-latest"]
63-
php: ["8.3"]
64-
65-
steps:
66-
- name: Checkout
67-
uses: actions/checkout@v4
68-
with:
69-
fetch-depth: 2
70-
71-
- name: Setup PHP, with composer and extensions
72-
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
73-
with:
74-
php-version: ${{ matrix.php }}
75-
tools: phpunit
76-
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
77-
coverage: xdebug
78-
79-
# Install composer dependencies and handle caching in one go.
80-
# @link https://github.com/marketplace/actions/install-composer-dependencies
81-
- name: "Install Composer dependencies"
82-
uses: "ramsey/composer-install@v2"
83-
84-
- name: Run behat
85-
run: vendor/bin/behat --config tests/Behat/behat.yml --profile=github-actions --suite=redmine_60002
40+
# This does not work
41+
# behat:
42+
# name: Tests (Behat with PHP ${{ matrix.php }})
43+
# runs-on: ubuntu-latest
44+
45+
# services:
46+
# redmine-60002:
47+
# image: redmine:6.0.2
48+
# ports:
49+
# - "6002:3000"
50+
# env:
51+
# # Workaround: Remove secret for Rails 7.2 so it will be generated automatically
52+
# # @see https://github.com/docker-library/redmine/issues/349#issuecomment-2516634932
53+
# # REDMINE_SECRET_KEY_BASE: supersecretkey
54+
# REDMINE_PLUGINS_MIGRATE: true
55+
# volumes:
56+
# - /home/runner/work/_temp/redmine-60002_data/files:/usr/src/redmine/files
57+
# - /home/runner/work/_temp/redmine-60002_data/sqlite:/usr/src/redmine/sqlite
58+
# options: --health-cmd="wget -O /dev/null http://localhost:3000" --health-start-period=30s --health-interval=30s --health-timeout=30s --health-retries=3
59+
60+
# strategy:
61+
# fail-fast: false
62+
# matrix:
63+
# operating-system: ["ubuntu-latest"]
64+
# php: ["8.3"]
65+
66+
# steps:
67+
# - name: Checkout
68+
# uses: actions/checkout@v4
69+
# with:
70+
# fetch-depth: 2
71+
72+
# - name: Setup PHP, with composer and extensions
73+
# uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
74+
# with:
75+
# php-version: ${{ matrix.php }}
76+
# tools: phpunit
77+
# extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
78+
# coverage: xdebug
79+
80+
# # Install composer dependencies and handle caching in one go.
81+
# # @link https://github.com/marketplace/actions/install-composer-dependencies
82+
# - name: "Install Composer dependencies"
83+
# uses: "ramsey/composer-install@v2"
84+
85+
# - name: Run behat
86+
# run: vendor/bin/behat --config tests/Behat/behat.yml --profile=github-actions --suite=redmine_60002
8687

8788
code-quality:
8889
name: Check ${{ matrix.tool }} (PHP ${{ matrix.php }})

0 commit comments

Comments
 (0)