Skip to content

Commit

Permalink
test without mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
naik-aakash committed Jul 19, 2024
1 parent 2e28ddb commit cf1f92d
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,26 @@ jobs:
- name: Check out repo
uses: actions/checkout@v4

- name: Set up micromamba
uses: mamba-org/setup-micromamba@main
# - name: Set up micromamba
# uses: mamba-org/setup-micromamba@main

- name: Create mamba environment
run: |
micromamba create -n lobpy python=${{ matrix.python-version }} --yes
# - name: Create mamba environment
# run: |
# micromamba create -n lobpy python=${{ matrix.python-version }} --yes

- name: Install uv
run: micromamba run -n lobpy pip install uv
# - name: Install uv
# run: micromamba run -n lobpy pip install uv

- name: Install lobsterpy and dependencies
- name: Install LobsterPy and dependencies
run: |
micromamba activate lobpy
uv pip install --upgrade pip
pip install --upgrade pip
pip install uv
uv pip install --editable '.[tests,featurizer]'
- name: Test with pytest and coverage
# run this locally to update tests durations
# pytest --cov=lobsterpy --cov-append --splits 1 --group 1 --durations-path ./tests/test_data/.pytest-split-durations --store-durations
run: |
micromamba activate lobpy
pytest --cov=lobsterpy --cov-report term-missing --cov-append --splits 6 --group ${{ matrix.split }} -vv --durations-path ./tests/test_data/.pytest-split-durations
- name: Upload coverage
Expand Down

0 comments on commit cf1f92d

Please sign in to comment.