From 4ee88454c91b7f3fb31387d4088660a8dc7f0ebf Mon Sep 17 00:00:00 2001 From: Braelyn Boynton Date: Mon, 1 Apr 2024 15:35:34 -0700 Subject: [PATCH] install dependencies --- .github/workflows/python-testing.yml | 31 ++++++++++++++++------------ 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index 66b014a0..0af819ba 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -18,16 +18,21 @@ jobs: python-version: [3.11] steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Run tests - run: | - pip install pytest - pytest + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install build system requirements + run: | + pip install setuptools wheel + - name: Install dependencies + run: | + pip install requests==2.31.0 psutil==5.9.8 + - name: Install optional dependencies (dev) + run: | + pip install pytest==7.4.0 requests_mock==1.11.0 + # Install other optional dependencies as needed + - name: Run tests + run: | + pytest \ No newline at end of file