From 89d3a404610cdae249effdcbfa76b9e7bb5e2c0b Mon Sep 17 00:00:00 2001 From: kedhammar Date: Fri, 22 Dec 2023 16:33:51 +0100 Subject: [PATCH] try simplified ci and expanded reqs --- .github/workflows/lint-code.yml | 13 +++++-------- requirements.txt | 33 +++++++++++++++++---------------- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 01ab0d55..45560a19 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -67,19 +67,16 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10' + - name: Install pipreqs run: pip install pipreqs - - # Install packages that are not found on PyPI - - name: Install postgreSQL - run: sudo apt-get install postgresql - - name: Install flowcell_parser - run: pip install git+https://github.com/SciLifeLab/flowcell_parser.git - - name: Install scilifelab_parsers - run: pip install git+https://github.com/SciLifeLab/scilifelab_parsers.git + + - name: Install requirements + run: pip install -r requirements.txt - name: Run pipreqs run: pipreqs --savepath pipreqs.txt + - name: Compare requirements run: | echo "=== pipreqs.txt contents: ===" diff --git a/requirements.txt b/requirements.txt index 2dbcf49f..f4dfdcb5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,17 @@ -CouchDB==1.2 -flowcell_parser==1.0.4 -genologics==1.0.0 -google_api_python_client==2.111.0 -httplib2==0.22.0 -interop==1.3.1 -Markdown==3.5.1 -numpy==1.26.2 -oauth2client==4.1.3 -pandas==2.1.4 -protobuf==4.25.1 -psycopg2==2.9.9 -PyYAML==6.0.1 -Requests==2.31.0 -setuptools==65.5.0 -tabulate==0.9.0 +CouchDB +flowcell_parser @ git+https://github.com/SciLifeLab/flowcell_parser +genologics +google_api_python_client +httplib2 +interop +Markdown +numpy +oauth2client +pandas +protobuf +psycopg2 +PyYAML +Requests +scilifelab_parsers @ git+https://github.com/SciLifeLab/scilifelab_parsers +setuptools +tabulate \ No newline at end of file