Move Behat dependencies to own composer.json #1562
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
name: test-integration | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Checkout devconf | |
uses: actions/checkout@v4 | |
with: | |
repository: OpenConext/OpenConext-devconf | |
ref: main | |
path: devconf | |
- name: Get Composer Cache Directory | |
id: composer-cache | |
run: | | |
echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-composer- | |
- name: Init environment | |
run: cd ci/docker && ./init.sh | |
- name: Run CI tests | |
run: | | |
cd ci/docker && docker-compose exec -T gateway bash -c ' | |
composer check | |
' |