Fix OSEerror: Invalid cross-device link by replacing os.replace with shutil.move in report.py #103
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run cellbender test suite | |
name: 'pytest' | |
on: | |
pull_request: | |
branches: [ master, dev ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: ['ubuntu-latest', 'windows-latest'] | |
python-version: ['3.7'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 'Checkout repo' | |
uses: actions/checkout@v3 | |
- name: 'Set up Python ${{ matrix.python-version }}' | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- name: 'Install package including pytest' | |
run: pip install .[dev] | |
- name: 'Print package versions' | |
run: pip list | |
- name: 'Test with pytest' | |
run: pytest -v |