Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add testing, fix git submodule test #530

Merged
merged 4 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
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
91 changes: 0 additions & 91 deletions .appveyor.yml

This file was deleted.

20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12"] # ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"]
os: [ubuntu-latest, macos-latest] #, windows-latest]
python-version: ["3.13"] # ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"]

# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
env:
MB_PYTHON_VERSION: 3.13
TEST_BUILDS: 1
MB_PYTHON_OSX_VER: 10.9
ENV_VARS_PATH: "test/env_vars.sh"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -36,12 +41,7 @@ jobs:
python-version: ${{ matrix.python-version }}

# Runs a single command using the runner's Python
- name: Run a one-line script
shell: python
run: print("Hello, world!")

# Runs a set of commands using the runner's shell
- name: Run a multi-line script
- name: Test
run: |
echo Add other actions to build,
echo test, and deploy your project.
pip install setuptools # for distutils
source tests/test_multibuild.sh
2 changes: 1 addition & 1 deletion tests/test_fill_submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mkdir project
mkdir superproject
cd superproject
git init
git submodule add ../project
git -c protocol.file.allow=always submodule add ../project
local_author
git commit -m "first superproject"
# Check the submodule is working correctly before intervention
Expand Down
2 changes: 2 additions & 0 deletions tests/test_library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ suppress build_swig
)
suppress build_flex
if [[ $MB_ML_VER != "_2_24" ]]; then
(set +e ;
suppress build_openblas
)
fi
suppress ensure_xz
suppress build_tiff
Expand Down
2 changes: 0 additions & 2 deletions tests/test_multibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,3 @@ source tests/test_supported_wheels.sh

# Exit 1 if any test errors
barf
# Don't need Travis' machinery trace
set +x
Loading