use python3 in all commands #35
Workflow file for this run
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: build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -el {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: mamba-org/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
environment-file: environment-dev.yml | |
create-args: >- | |
python=${{ matrix.python-version }} | |
numpy | |
- name: Install JHub Apps | |
run: | | |
pip install . | |
- name: Install Test dependencies | |
run: | | |
pip install flake8 pytest | |
- name: Lint with black | |
uses: psf/black@stable | |
- name: Run Tests | |
run: | | |
pytest jhub_apps/tests -vvv -s |