Skip to content

run broken test separately #4

run broken test separately

run broken test separately #4

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Unit testing
on:
push:
branches: [ "main", "develop"]
pull_request:
branches: [ "main" ]
release:
types:
- published
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/bilby-dev/bilby-python311:latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Install package
run: |
python -m pip install .
conda list --show-channel-urls
# - name: Run precommits
# run: |
# pre-commit run --all-files --verbose --show-diff-on-failure
- name: Run broken test
run: |
pytest test/gw/source_test.py
- name: Run unit tests
run: |
pytest --cov=bilby --durations 10
- name: Run sampler tests
run: |
pytest test/integration/sampler_run_test.py --durations 10 -v