Skip to content

wrap paragraphs properly #1186

wrap paragraphs properly

wrap paragraphs properly #1186

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: dev
on: [push, pull_request]
jobs:
example-4:
name: test
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
# cache
- uses: actions/cache@v2
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('etc/example-environment.yml') }}
activate-environment: foo
python-version: 3.8
channels: conda-forge
allow-softlinks: true
channel-priority: strict
show-channel-urls: true
use-only-tar-bz2: true
- run: |
conda config --add channels conda-forge
conda config --set channel_priority strict
conda info
conda install python==3.8 pytorch pytest pytest-xdist numpy hypothesis -y
conda list
conda config --show-sources
- run: |
echo $PWD
ls -l
- name: Run tests
run: |
pytest torch_np/ -s -n 2 --runslow