From 0b70084c633b4cc24057e0baed12b8606add77f2 Mon Sep 17 00:00:00 2001 From: Erick Matsen Date: Mon, 10 Jun 2024 14:49:04 -0700 Subject: [PATCH] simpler build and test --- .github/workflows/build-and-test.yml | 19 ++----------------- requirements.txt | 6 ++++++ 2 files changed, 8 insertions(+), 17 deletions(-) create mode 100644 requirements.txt diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b561159c..fb34f7d5 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -21,22 +21,10 @@ jobs: with: path: main - - name: Setup epam ssh key - uses: webfactory/ssh-agent@v0.9.0 - with: - ssh-private-key: | - ${{ secrets.SHMPLE_DEPLOY_PRIVATE_KEY }} - ${{ secrets.EPAM_DEPLOY_PRIVATE_KEY }} - - - name: Clone Epam - shell: bash -l {0} - run: | - git clone git@github.com:matsengrp/epam.git - - uses: mamba-org/setup-micromamba@v1 with: micromamba-version: '1.5.6-0' # any version from https://github.com/mamba-org/micromamba-releases - environment-name: epam + environment-name: netam create-args: >- python=${{ matrix.python-version }} datrie @@ -55,10 +43,7 @@ jobs: - name: Install shell: bash -l {0} run: | - export GIT_CLONE_PROTECTION_ACTIVE=false - cd epam - make install - cd ../main + cd main pip install . - name: Test diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..eaf443da --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +black +pulp==2.7.0 # see issue https://github.com/snakemake/snakemake/issues/2607 +pytest +snakemake +tensorboardX +typing_extensions