Skip to content

Commit

Permalink
Merge pull request #530 from mattip/moreCI
Browse files Browse the repository at this point in the history
add testing, fix git submodule test
  • Loading branch information
mattip authored Oct 21, 2024
2 parents 0dd0775 + 33cd0df commit 387ebdc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 104 deletions.
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

0 comments on commit 387ebdc

Please sign in to comment.