Skip to content

Commit b41ebd9

Browse files
committed
Create workflow for behat tests
1 parent 35bb710 commit b41ebd9

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/behat-tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Behat-Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
tests:
9+
name: Tests (Behat with PHP ${{ matrix.php }})
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
operating-system: ["ubuntu-latest"]
16+
php: ["8.3"]
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 2
23+
24+
- name: Start containers
25+
run: |
26+
docker-compose -f "docker-compose.yml" up -d --build
27+
28+
- name: Setup PHP, with co
29+
run: |
30+
docker-compose -f "docker-compose.yml" exec php composer update
31+
32+
- name: Run behat tests
33+
run: docker-compose -f "docker-compose.yml" exec php composer behat

0 commit comments

Comments
 (0)