Skip to content

Commit

Permalink
removed env setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rsexton2 committed Nov 18, 2024
1 parent ab5e561 commit 9744936
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,31 @@ defaults:
shell: bash -l {0}

jobs:
environment-config:
runs-on: ubuntu-latest
outputs:
stable-python-version: ${{ steps.get-compatible-python.outputs.stable-python }}
python-matrix: ${{ steps.get-compatible-python.outputs.python-versions }}
steps:
- uses: actions/setup-python@v5.3.0
with:
python-version: "3.13"

- id: get-compatible-python
uses: MDAnalysis/mdanalysis-compatible-python@main
with:
release: "latest"

# environment-config:
# runs-on: ubuntu-latest
# outputs:
# stable-python-version: ${{ steps.get-compatible-python.outputs.stable-python }}
# python-matrix: ${{ steps.get-compatible-python.outputs.python-versions }}
# steps:
# - uses: actions/setup-python@v5.3.0
# with:
# python-version: "3.13"
#
# - id: get-compatible-python
# uses: MDAnalysis/mdanalysis-compatible-python@main
# with:
# release: "latest"
#
main-tests:
if: "github.repository == 'becksteinlab/basicrta'"
needs: environment-config
# needs: environment-config
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: ${{ fromJSON(needs.environment-config.outputs.python-matrix) }}
# python-version: ${{ fromJSON(needs.environment-config.outputs.python-matrix) }}
python-version: ["3.10", "3.11", "3.12"]
mdanalysis-version: ["latest", "develop"]
exclude:
- python-version: "3.9"
Expand All @@ -69,7 +70,6 @@ jobs:
python-version: ${{ matrix.python-version }}
environment-file: devtools/conda-envs/test_env.yaml
add-pip-as-python-dependency: true
#architecture: x64

miniforge-variant: Miniforge3
use-mamba: true
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Run tests
run: |
pytest -n 2 -v --cov=basicrta --cov-report=xml --color=yes basicrta/tests/
pytest -n auto -v --cov=basicrta --cov-report=xml --color=yes basicrta/tests/
- name: codecov
if: github.repository == 'becksteinlab/basicrta' && github.event_name != 'schedule'
Expand Down

0 comments on commit 9744936

Please sign in to comment.