Skip to content

update

update #83

Workflow file for this run

name: test-python-package
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: nschloe/action-cached-lfs-checkout@v1
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.10'
- uses: ./.github/actions/setup-rust
with:
cache: true
- name: Install dependencies
run: |
sudo pip install --upgrade pip
pip install --user coverage pytest hypothesis==6.72.4 wheel
- name: Build wheel files
run: |
cd ${GITHUB_WORKSPACE}/snapatac2-python
mkdir ${GITHUB_WORKSPACE}/wheel_files
pip wheel . --wheel-dir ${GITHUB_WORKSPACE}/wheel_files
- name: Test Python package
run: |
pip install --user ${GITHUB_WORKSPACE}/wheel_files/*.whl
coverage run -m pytest ${GITHUB_WORKSPACE}/snapatac2-python/tests
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
- name: Upload wheel files as artifacts
uses: actions/upload-artifact@v3
with:
name: wheel-files
path: ./wheel_files/snapatac2*.whl
test_docker:
uses: kaizhang/SnapATAC2/.github/workflows/docker.yml@main

Check failure on line 48 in .github/workflows/test_python.yml

View workflow run for this annotation

GitHub Actions / test-python-package

Invalid workflow file

The workflow is not valid. .github/workflows/test_python.yml (Line: 48, Col: 11): Input version is required, but not provided while calling. .github/workflows/test_python.yml (Line: 50, Col: 16): Invalid input, verison is not defined in the referenced workflow.
with:
verison: '2.6.0'