diff --git a/.env.testing.tric b/.env.testing.slic similarity index 100% rename from .env.testing.tric rename to .env.testing.slic diff --git a/.github/workflows/tests-php.yml b/.github/workflows/tests-php.yml index 8723436..1fb7867 100644 --- a/.github/workflows/tests-php.yml +++ b/.github/workflows/tests-php.yml @@ -15,14 +15,14 @@ jobs: fetch-depth: 1000 submodules: recursive # ------------------------------------------------------------------------------ - # Checkout tric + # Checkout slic # ------------------------------------------------------------------------------ - - name: Checkout tric + - name: Checkout slic uses: actions/checkout@v2 with: - repository: the-events-calendar/tric + repository: stellarwp/slic ref: main - path: tric + path: slic fetch-depth: 1 # ------------------------------------------------------------------------------ # Prepare our composer cache directory @@ -39,35 +39,35 @@ jobs: restore-keys: | ${{ runner.os }}-composer- # ------------------------------------------------------------------------------ - # Initialize tric + # Initialize slic # ------------------------------------------------------------------------------ - - name: Set up tric env vars + - name: Set up slic env vars run: | - echo "TRIC_BIN=${GITHUB_WORKSPACE}/tric/tric" >> $GITHUB_ENV - echo "TRIC_WP_DIR=${GITHUB_WORKSPACE}/tric/_wordpress" >> $GITHUB_ENV - echo "TRIC_WORDPRESS_DOCKERFILE=Dockerfile.base" >> $GITHUB_ENV - - name: Set run context for tric - run: echo "TRIC=1" >> $GITHUB_ENV && echo "CI=1" >> $GITHUB_ENV + echo "SLIC_BIN=${GITHUB_WORKSPACE}/slic/slic" >> $GITHUB_ENV + echo "SLIC_WP_DIR=${GITHUB_WORKSPACE}/slic/_wordpress" >> $GITHUB_ENV + echo "SLIC_WORDPRESS_DOCKERFILE=Dockerfile.base" >> $GITHUB_ENV + - name: Set run context for slic + run: echo "SLIC=1" >> $GITHUB_ENV && echo "CI=1" >> $GITHUB_ENV - name: Start ssh-agent run: | mkdir -p "${HOME}/.ssh"; ssh-agent -a /tmp/ssh_agent.sock; - name: Export SSH_AUTH_SOCK env var run: echo "SSH_AUTH_SOCK=/tmp/ssh_agent.sock" >> $GITHUB_ENV - - name: Set up tric for CI + - name: Set up slic for CI run: | cd ${GITHUB_WORKSPACE}/.. - ${TRIC_BIN} here - ${TRIC_BIN} interactive off - ${TRIC_BIN} build-prompt off - ${TRIC_BIN} build-subdir off - ${TRIC_BIN} xdebug off - ${TRIC_BIN} debug on - ${TRIC_BIN} info - ${TRIC_BIN} config + ${SLIC_BIN} here + ${SLIC_BIN} interactive off + ${SLIC_BIN} build-prompt off + ${SLIC_BIN} build-subdir off + ${SLIC_BIN} xdebug off + ${SLIC_BIN} debug on + ${SLIC_BIN} info + ${SLIC_BIN} config - name: Set up StellarWP DB run: | - ${TRIC_BIN} use db - ${TRIC_BIN} composer install --ignore-platform-reqs + ${SLIC_BIN} use db + ${SLIC_BIN} composer install --ignore-platform-reqs - name: Run suite wpunit - run: ${TRIC_BIN} run ${{ matrix.suite }} --ext DotReporter + run: ${SLIC_BIN} run ${{ matrix.suite }} --ext DotReporter diff --git a/codeception.tric.yml b/codeception.slic.yml similarity index 100% rename from codeception.tric.yml rename to codeception.slic.yml