Skip to content

Commit

Permalink
Mac fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rfrenchseti committed Jan 4, 2024
1 parent 3f49789 commit 991790e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ self-hosted-linux, self-hosted-macos, self-hosted-windows ]
# os: [ self-hosted-linux, self-hosted-macos, self-hosted-windows ]
os: [ self-hosted-macos ]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
fail-fast: false
steps:
Expand Down
7 changes: 4 additions & 3 deletions scripts/automated_tests/oops_main_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
source ~/oops_runner_secrets
if [ $? -ne 0 ]; then exit -1; fi

if [[ ! -v SPICE_PATH ]]; then
# Can't use -v because it doesn't work on MacOS
if [[ -z ${SPICE_PATH+x} ]]; then
echo "SPICE_PATH is not set"
exit -1
fi
if [[ ! -v SPICE_SQLITE_DB_NAME ]]; then
if [[ -z ${SPICE_SQLITE_DB_NAME+x} ]]; then
echo "SPICE_SQLITE_DB_NAME is not set"
exit -1
fi
if [[ ! -v OOPS_RESOURCES ]]; then
if [[ -z ${OOPS_RESOURCES+x} ]]; then
echo "OOPS_RESOURCES is not set"
exit -1
fi
Expand Down

0 comments on commit 991790e

Please sign in to comment.