Skip to content

Setup integration tests for API endpoints #21

Setup integration tests for API endpoints

Setup integration tests for API endpoints #21

Workflow file for this run

name: Integration tests
on:
push:
pull_request:
permissions:
contents: read # to clone the repos and get release assets (shivammathur/setup-php)
jobs:
integration:
permissions:
contents: read # to clone the repos and get release assets (shivammathur/setup-php)
name: Integration tests
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '8.1', '8.2' ]
fail-fast: false
steps:
- name: Checkout module code
uses: actions/checkout@v3
with:
path: ps_apiresources
- uses: actions/checkout@v3
name: Checkout PrestaShop repository
with:
fetch-depth: 0
repository: PrestaShop/PrestaShop
path: prestashop
- name: Run ci.sh script
run: |
echo "Starting ci.sh script"
chmod +x ci.sh
./ci.sh prestashop ps_apiresources
echo "Script completed"