Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update tests #93

Merged
merged 3 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ name: Latest docs
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
- master

jobs:
docs-test:
Expand All @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
python-version: [3.9]

# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 20
Expand Down Expand Up @@ -72,4 +72,4 @@ jobs:
branch: gh-pages
directory: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true
force: true
46 changes: 23 additions & 23 deletions .github/workflows/test_unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,33 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.9]

# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 10
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: museval
auto-update-conda: true
auto-activate-base: false
python-version: ${{ matrix.python-version }}
- name: Install Conda
run: |
conda install -c conda-forge ffmpeg libsndfile
- name: Install dependencies
run: |
python -m pip install -e '.[tests]'
python --version
pip --version
python -m pip list
- name: Conda list
run: conda list
- name: Run tests
run: |
py.test tests -v
- uses: actions/checkout@v2
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: museval
auto-update-conda: true
auto-activate-base: false
python-version: ${{ matrix.python-version }}
- name: Install Conda
run: |
conda install -c conda-forge ffmpeg libsndfile
- name: Install dependencies
run: |
python -m pip install -e '.[tests]'
python --version
pip --version
python -m pip list
- name: Conda list
run: conda list
- name: Run tests
run: |
py.test tests -vs
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
env*/

#####=== OSX ===#####
.DS_Store
.AppleDouble
Expand Down
Loading