Update docker images #94
This file contains hidden or 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
| name: Test sorter images in singularity | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [main] | |
| types: [synchronize, opened, reopened, ready_for_review] | |
| jobs: | |
| test-images: | |
| name: Test on (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # "macos-latest", "windows-latest" | |
| os: ["ubuntu-latest", ] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - uses: eWaterCycle/setup-singularity@v7 | |
| with: | |
| singularity-version: 3.8.3 | |
| - name: Python version | |
| run: | | |
| python --version | |
| - name: Install dependencies | |
| run: | | |
| pip install tridesclous | |
| pip install -r requirements_test.txt | |
| - name: Run test singularity containers | |
| run: | | |
| pip install tridesclous | |
| pytest -sv tests/test_singularity_containers.py |