Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 54 additions & 1 deletion .github/workflows/package-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: |
twine check dist/*

test:
test-linux-containers:
runs-on: ubuntu-latest
needs: build-check
strategy:
Expand Down Expand Up @@ -121,3 +121,56 @@ jobs:
with:
name: testgres.common--test_logs--${{ env.RUN_CFG__NOW }}-${{ env.BASE_SIGN }}-id${{ github.run_id }}
path: "${{ env.RUN_CFG__LOGS_DIR }}/"

test-macos-14:
runs-on: macos-14
needs: build-check
strategy:
fail-fast: false
matrix:
include:
- python: "3.9"
- python: "3.10"
- python: "3.11"
- python: "3.12"
- python: "3.13"
- python: "3.14"

env:
BASE_SIGN: "macos-py${{ matrix.python }}"

steps:
- name: Prepare variables
run: |
echo "RUN_CFG__NOW=$(date +'%Y%m%d_%H%M%S')" >> $GITHUB_ENV
echo "RUN_CFG__LOGS_DIR=logs-${{ env.BASE_SIGN }}" >> $GITHUB_ENV
echo "---------- [$GITHUB_ENV]"
cat $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v6

- name: Prepare logs folder on the host
run: mkdir -p "${{ env.RUN_CFG__LOGS_DIR }}"

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}

- name: Run native tests
run: |
set -eux
echo "HELLO FROM ENTRYPOINT"
echo "HOME DIR IS [$(realpath ~/)]"
echo "WORK DIR IS [$(pwd)]"
export TEST_CFG__LOG_DIR="${{ github.workspace }}/${{ env.RUN_CFG__LOGS_DIR }}"
bash run_tests3.sh

- name: Upload Logs
uses: actions/upload-artifact@v7
if: always()
with:
name: testgres.common--test_logs--${{ env.RUN_CFG__NOW }}-${{ env.BASE_SIGN }}-id${{ github.run_id }}
path: "${{ env.RUN_CFG__LOGS_DIR }}/"

Loading