Skip to content

Commit

Permalink
Merge branch 'master' into refactor/sdr
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Jan 8, 2022
2 parents 7a7fd7b + 2f32c2d commit fb39eb0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on: # Trigger the workflow on push or pull request, but only for the master bran
- ".github/workflows/*docker*.yml"
- "setup.py"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
build-PL:
runs-on: ubuntu-20.04
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci_test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on: # Trigger the workflow on push or pull request, but only for the master bra
pull_request:
branches: [master, "release/*"]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}

jobs:
conda:
runs-on: ubuntu-20.04
Expand All @@ -23,7 +27,7 @@ jobs:
TRANSFORMERS_CACHE: .cache/huggingface/

# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 55
timeout-minutes: 60
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -69,11 +73,6 @@ jobs:
path: $TRANSFORMERS_CACHE
key: cache-transformers

- name: Temp COCO env. fix
if: matrix.pytorch-version == '1.4'
run: |
pip install -q "numpy==1.20.0" # try to fix cocotools for PT 1.4
- name: Update Environment
run: |
sudo apt install libsndfile1
Expand All @@ -85,6 +84,7 @@ jobs:
pip --version
python ./requirements/adjust-versions.py requirements.txt
python ./.github/prune-packages.py requirements/image.txt torchvision
pip install -q "numpy==1.20.0" # try to fix cocotools for PT 1.4 & 1.9
pip install --requirement requirements.txt --quiet
pip install --requirement requirements/test.txt --quiet
pip list
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on: # Trigger the workflow on push or pull request, but only for the master bra
branches: [master, "release/*"]
types: [opened, reopened, ready_for_review, synchronize]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }}

jobs:
pytest:

Expand Down Expand Up @@ -37,10 +41,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Update Pip
run: |
pip install "pip>=20.1" --upgrade --user # needed for get pip cacher folder
# Github Actions: Run step on specific OS: https://stackoverflow.com/a/57948488/4521646
- name: Setup macOS
if: runner.os == 'macOS'
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% block footer %}
{{ super() }}
<script script type="text/javascript">
var collapsedSections = ['Metrics API references', 'Community'];
var collapsedSections = ['Community'];
</script>

{% endblock %}

0 comments on commit fb39eb0

Please sign in to comment.