This repository has been archived by the owner on May 7, 2023. It is now read-only.
Merge pull request #35 from spyder-ide/not-maintained #23
This file contains 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: Macos tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
macos: | |
name: Mac Py${{ matrix.PYTHON_VERSION }} | |
runs-on: macos-latest | |
env: | |
CI: True | |
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }} | |
RUNNER_OS: 'macos' | |
strategy: | |
fail-fast: false | |
matrix: | |
PYTHON_VERSION: ['3.6', '3.7', '3.8'] | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v2 | |
- name: Install Conda | |
uses: goanpeca/setup-miniconda@v1 | |
with: | |
activate-environment: test | |
auto-update-conda: true | |
auto-activate-base: false | |
python-version: ${{ matrix.PYTHON_VERSION }} | |
- name: Install package dependencies | |
shell: bash -l {0} | |
run: conda install --file requirements/conda.txt -y -q | |
- name: Install test dependencies | |
shell: bash -l {0} | |
run: | | |
conda install nomkl -y -q | |
conda install -c spyder-ide --file requirements/tests.txt -y -q | |
- name: Install Package | |
shell: bash -l {0} | |
run: pip install --no-deps -e . | |
- name: Show environment information | |
shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
- name: Run tests | |
shell: bash -l {0} | |
run: pytest spyder_memory_profiler -x -vv | |
timeout-minutes: 10 |