diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index e68da109..74f47b41 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,14 +28,18 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install flake8 pytest - python -m pip install numpy scipy sympy matplotlib networkx qutip + if [ ${{ matrix.python-version }} == "3.8" ]; then + python -m pip install numpy==1.24.4 scipy==1.10.1 sympy==1.12 matplotlib==3.7.4 networkx==3.1 qutip==4.7.4 + elif [ ${{ matrix.python-version }} == "3.9" ]; then + python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.4 + elif [ ${{ matrix.python-version }} == "3.10" ]; then + python -m pip install numpy==1.26.3 scipy==1.11.4 sympy==1.12 matplotlib==3.8.2 networkx==3.2.1 qutip==4.7.4 + fi python -m pip install . if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | - # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | diff --git a/README.md b/README.md index c68dee53..97948c27 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Additionally, a fullstack web app built with Flask and PyMongo is available on [ ## Funding This work is financed by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia, within project UIDB/50014/2020. +The project was also partially supported by Next Generation EU, in the context of the National Recovery and Resilience Plan, M4C2 investment 1.2. Project SOE0000098-ThermoQT.