From 07a657b06bb474d26c75a80a4f3d4e2f7541f158 Mon Sep 17 00:00:00 2001 From: Yifan ZENG <99973623+yifanzeng0408@users.noreply.github.com> Date: Sat, 20 Apr 2024 07:15:30 +0800 Subject: [PATCH] Update Ubuntu version and dependency library versions for CI testing (#11) --- .github/workflows/tests.yml | 4 ++-- requirements.txt | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8f83ccb..37044d7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,8 +7,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest] - python-version: ['3.6'] + os: [ubuntu-20.04] + python-version: ['3.6.7'] steps: - uses: actions/checkout@v3 diff --git a/requirements.txt b/requirements.txt index 457c8c8..d0431a2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,14 +1,14 @@ pre-commit black -numpy -sympy +numpy==1.19.5 +sympy==1.9 matplotlib -casadi -cvxopt -pathos +casadi==3.5.5 +cvxopt==1.3.0 +pathos==0.2.8 flake8==3.9.2 tox==3.24.3 pytest==6.2.5 pytest-cov==2.12.1 mypy==0.910 -scipy \ No newline at end of file +scipy==1.5.2 \ No newline at end of file