From 5a0269bb2504f087c3b665563b59981b1dee3a45 Mon Sep 17 00:00:00 2001 From: skjerns Date: Sat, 27 Jul 2024 13:58:28 +0200 Subject: [PATCH] add cross-version-numpy2-test --- .../workflows/tests_numpy_2_compatibility.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/tests_numpy_2_compatibility.yml diff --git a/.github/workflows/tests_numpy_2_compatibility.yml b/.github/workflows/tests_numpy_2_compatibility.yml new file mode 100644 index 0000000..ce8bfca --- /dev/null +++ b/.github/workflows/tests_numpy_2_compatibility.yml @@ -0,0 +1,25 @@ +name: Run tests +on: + pull_request: + branches: + - '*' +jobs: + run: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + python-version: ["3.10"] + steps: + - uses: actions/checkout@v3 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install packages + run: | + pip install numpy==1.9.3 + pip install pytest + pip install -e . + pip install -r requirements-test.txt + pytest