From d61e0757314bb4a103dd8beff48a9b8a9ce5e8c8 Mon Sep 17 00:00:00 2001 From: ctrlaltaf Date: Fri, 7 Jun 2024 09:27:57 -0700 Subject: [PATCH] testing --- .github/workflows/python-app.yml | 56 ++++++++++++++++++++++---------- 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index a9027ed..8c53366 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -11,21 +11,41 @@ on: - master jobs: - example-3: - name: Ex3 Linux - runs-on: "ubuntu-latest" - defaults: - run: - shell: bash -el {0} - steps: - - uses: actions/checkout@v4 - - uses: conda-incubator/setup-miniconda@v3 - with: - activate-environment: protein-prediction - environment-file: environment.yml - python-version: 3.8 # Correct the Python version here - auto-activate-base: false - channels: conda-forge, defaults - - run: | - conda info - conda list + # example-3: + # name: Ex3 Linux + # runs-on: "ubuntu-latest" + # defaults: + # run: + # shell: bash -el {0} + # steps: + # - uses: actions/checkout@v4 + # - uses: conda-incubator/setup-miniconda@v3 + # with: + # activate-environment: protein-prediction + # environment-file: environment.yml + # python-version: 3.8 # Correct the Python version here + # auto-activate-base: false + # channels: conda-forge, defaults + # - run: | + # conda info + # conda list + conda-only: + name: Test conda environment + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, windows-latest] + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Install conda environment + uses: conda-incubator/setup-miniconda@v2 + with: + activate-environment: protein-prediction + environment-file: environment.yml + auto-activate-base: false + miniconda-version: "latest" + # Log conda environment contents + - name: Log conda environment + shell: bash --login {0} + run: conda list