Skip to content

Require pandas 1.3 (instead of 1.5) #36

Require pandas 1.3 (instead of 1.5)

Require pandas 1.3 (instead of 1.5) #36

Workflow file for this run

name: Run Gherkin tests
on:
workflow_dispatch:
pull_request:
branches: ["master"]
push:
branches:
- master
permissions:
contents: write
checks: write
pull-requests: write
jobs:
gherkin-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.ref || github.ref }}
- name: Print current branch value
run: |
echo "The ref value is: ${{ github.event.client_payload.ref || github.ref }}"
- name: Package plugin
run: |
mkdir dist
zip -v -9 dist/visual-edit.zip -r dss-plugin-visual-edit \
--exclude "dss-plugin-visual-edit/tests/*" \
--exclude "dss-plugin-visual-edit/.vscode/*"
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Update plugin on test instance
env:
DSS_HOST: ${{ secrets.tests_integration_url }}
DSS_API_KEY: ${{ secrets.tests_integration_api_key }}
PLUGIN_ID: visual-edit
run: |
pip install dataiku-api-client
python dss-plugin-visual-edit/tests/update_plugin.py
- name: Run Gherkin tests
env:
DKU_DSS_URL: ${{ secrets.tests_integration_url }}
DKU_API_KEY: ${{ secrets.tests_integration_api_key }}
DSS_USERNAME: ${{ secrets.tests_integration_reader_user_name }}
DSS_PASSWORD: ${{ secrets.tests_integration_reader_user_pwd }}
run: |
python -m pip install --upgrade pip
cd dss-plugin-visual-edit/tests
pip install -r requirements.txt
playwright install chromium
TMPDIR=/tmp/ behavex --output-folder=../../tests-out --parallel-processes=5 --parallel-scheme=feature --no-logcapture --logging-level=DEBUG --show-progress-bar
- name: Zip tests results
if: always()
run: |
zip -r out.zip tests-out
- name: Upload test results to workflow artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: gherkin-tests-results
path: out.zip
retention-days: 1