From cb8fe8e6b4735ee33a12e09bd3c68b6ea6bc22a4 Mon Sep 17 00:00:00 2001 From: Antony Lewis Date: Wed, 21 Aug 2024 09:35:54 +0100 Subject: [PATCH] fix --- .github/workflows/build_wheels.yml | 2 +- .github/workflows/tests.yml | 8 ++++---- fortran/tests/run_tests.sh | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 0417a91e..fe56832d 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -85,7 +85,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.x" cache: pip cache-dependency-path: "setup.py" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e59ad9b7..883fc31d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,15 +10,15 @@ jobs: fail-fast: false matrix: include: - - name: "Latest Python 3.12" + - name: "Latest Python 3.x" os: ubuntu-latest - python-version: 3.12 + python-version: 3.x - name: "OS X Python 3.8" os: macos-latest python-version: 3.8 - - name: "Windows Python 3.8" + - name: "Windows Python 3.12" os: windows-latest - python-version: 3.8 + python-version: 3.12 steps: - uses: actions/checkout@v4 diff --git a/fortran/tests/run_tests.sh b/fortran/tests/run_tests.sh index 0ad209e8..69da9b3d 100755 --- a/fortran/tests/run_tests.sh +++ b/fortran/tests/run_tests.sh @@ -12,8 +12,8 @@ mkdir -p testfiles python tests/CAMB_test_files.py testfiles --make_ini pushd testfiles -echo "cloning test output branch:" $BRANCH -git clone -b $BRANCH --depth=1 https://github.com/cmbant/CAMB_test_outputs.git +echo "cloning test output" +git clone --depth=1 https://github.com/cmbant/CAMB_test_outputs.git popd python tests/CAMB_test_files.py testfiles --diff_to CAMB_test_outputs/test_outputs --verbose