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