Skip to content

ci: Use path and paths-ignore to run workflows based on file changes #41551

ci: Use path and paths-ignore to run workflows based on file changes

ci: Use path and paths-ignore to run workflows based on file changes #41551

name: product tests (basic)
on:
pull_request:
paths-ignore:
- presto-docs/**
env:
# An envar that signals to tests we are executing in the CI environment
CONTINUOUS_INTEGRATION: true
MAVEN_OPTS: -Xmx1024M -XX:+ExitOnOutOfMemoryError
MAVEN_INSTALL_OPTS: -Xmx2G -XX:+ExitOnOutOfMemoryError
MAVEN_FAST_INSTALL: -B -V --quiet -T 1C -DskipTests -Dair.check.skip-all --no-transfer-progress -Dmaven.javadoc.skip=true
RETRY: .github/bin/retry
jobs:
product-tests-basic-environment:
strategy:
fail-fast: false
matrix:
java: ['17']
runs-on: ubuntu-latest
permissions:
contents: read
timeout-minutes: 60
concurrency:
group: ${{ github.workflow }}-product-tests-basic-environment-${{ github.event.pull_request.number }}-${{ matrix.java }}
cancel-in-progress: true
steps:
- name: Free Disk Space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
with:
tool-cache: true
swap-storage: false
- uses: actions/checkout@v4
with:
show-progress: false
persist-credentials: false
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Download nodejs to maven cache
run: .github/bin/download_nodejs
- name: Maven install
run: |
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
./mvnw install ${MAVEN_FAST_INSTALL} -am -pl '!presto-docs,!presto-spark-package,!presto-spark-launcher,!presto-spark-testing,!presto-test-coverage'
- name: Run Product Tests Basic Environment
env:
OVERRIDE_JDK_DIR: ${{ env.JAVA_HOME }}
run: presto-product-tests/bin/run_on_docker.sh multinode -x quarantine,big_query,storage_formats,profile_specific_tests,tpcds,cassandra,mysql_connector,mysql_mixed_case,postgresql_connector,mysql,kafka,avro,mixed_case