PR: Add jupyter-server extension for remote development support #224
Workflow file for this run
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
| # Run the project's test suite | |
| name: Macos tests | |
| on: [pull_request, push] | |
| concurrency: | |
| group: macos-tests-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| name: Test Python ${{ matrix.python-version }} | |
| runs-on: macos-latest | |
| timeout-minutes: 25 | |
| env: | |
| PYTHON_VERSION: ${{ matrix.python-version }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.9', '3.11'] | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Create test environment | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| auto-update-conda: true | |
| channels: conda-forge | |
| python-version: ${{ matrix.python-version }} | |
| environment-file: requirements/environment.yml | |
| auto-activate-base: false | |
| - name: Install envs-manager | |
| shell: bash -l {0} | |
| run: | | |
| pip install -e . | |
| - name: Run tests | |
| shell: bash -l {0} | |
| run: | | |
| pytest --cov-report xml --cov=envs_manager --color=yes -vv -x | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: true | |
| verbose: true |