Skip to content

Commit

Permalink
updates CI to test
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Jan 8, 2024
1 parent 886da8f commit cab0ddc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 23 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,26 +80,23 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
# - uses: actions/download-artifact@v3
# with: {name: python-distribution-files, path: dist/}
# - name: Install tox-gh plugin
# run: python -m pip install tox-gh>=1.2
# - name: Setup test suite
# run: tox -vv --notest
- name: Install pipenv
run: python -m pip install pipenv
- uses: actions/download-artifact@v3
with: {name: python-distribution-files, path: dist/}
- name: Install tox-gh plugin
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Install dependencies
run: pipenv install -d
run: ./dev_setup.sh {{{ matrix.python }}}
- name: Run tests
env:
# New variables should match a `passenv` pattern under `[testenv]` in tox.ini
SEVENBRIDGES_CONNECTION_URI: ${{ secrets.SEVENBRIDGES_CONNECTION_URI }}
NEXTFLOWTOWER_CONNECTION_URI: ${{ secrets.NEXTFLOWTOWER_CONNECTION_URI }}
SYNAPSE_CONNECTION_URI: ${{ secrets.SYNAPSE_CONNECTION_URI }}
run: pipenv run pytest -vvv
# >-
# tox --installpkg '${{ needs.prepare.outputs.wheel-path }}'
# -- -rFEx --durations 10 --color yes
run: >-
tox --installpkg '${{ needs.prepare.outputs.wheel-path }}'
-- -rFEx --durations 10 --color yes
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down
20 changes: 10 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ commands =
python -m twine upload {posargs:--repository {env:TWINE_REPOSITORY:testpypi}} dist/*


[testenv:pipenv]
description =
Refresh the Pipfile.lock file based on the latest dependencies in setup.cfg
skip_install = True
changedir = {toxinidir}
setenv =
PIPENV_IGNORE_VIRTUALENVS = 1
deps = pipenv
commands =
pipenv install --dev --ignore-pipfile
; [testenv:pipenv]
; description =
; Set up the python virtual environment and install dependencies using pip
; skip_install = True
; changedir = {toxinidir}
; setenv =
; PIPENV_IGNORE_VIRTUALENVS = 1
; deps = pip
; commands =
; ./dev_setup.sh

0 comments on commit cab0ddc

Please sign in to comment.