Properly handle 0 as rowValue during filter. #31
Workflow file for this run
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: 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-result-${{ github.ref_name }} | |
path: out.zip | |
retention-days: 1 |