Skip to content

Commit

Permalink
add testing, fix git submodule test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Oct 21, 2024
1 parent 0dd0775 commit 6462a17
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 105 deletions.
91 changes: 0 additions & 91 deletions .appveyor.yml

This file was deleted.

20 changes: 9 additions & 11 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,5 @@ 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
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: Test
run: 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: 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 6462a17

Please sign in to comment.