Skip to content

Commit

Permalink
test version [a5]
Browse files Browse the repository at this point in the history
Signed-off-by: Mic Bowman <mic.bowman@intel.com>
  • Loading branch information
cmickeyb committed Oct 14, 2024
1 parent 82daecb commit a2d2da3
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,33 +25,22 @@ jobs:

- name: Display branch name
run: |
echo "GITHUB_HEAD_REF=$GITHUB_HEAD_REF"
echo "GITHUB_REF=$GITHUB_REF"
bin/get_version
- name: Set up the environment for the version and branch
run: |
echo PDO BRANCH is ${{ github.head_ref }}
echo "PDO_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
- name: Checkout the branch
run: |
. build/common-config.sh
make -C docker repository
echo "Building branch $GITHUB_HEAD_REF"
echo PDO VERSION is $(bin/get_version)
- name: Build and run tests
if: "!contains(github.event.commits[0].message, '[debug]')"
env:
PDO_INTERPRETER: ${{ matrix.interpreter }}
PDO_LOG_LEVEL: warning
run: |
# The creation of a dummy branch is necessary for the CI tests
# to work on PRs. Based on empirical results, in the absence of
# this command, CI tests work on the main branch and on local
# branches. However, they fail as a PR is created.
git checkout -b ci-test-branch
. build/common-config.sh
# make -C docker test
# The creation of a dummy branch is necessary for the CI tests
# to work on PRs. Based on empirical results, in the absence of
# this command, CI tests work on the main branch and on local
# branches. However, they fail as a PR is created.
git checkout -b ci-test-branch
. build/common-config.sh
make -C docker test
- name: Build and run tests (DEBUG MODE)
if: "contains(github.event.commits[0].message, '[debug]')"
Expand Down

0 comments on commit a2d2da3

Please sign in to comment.