| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,44 @@ | |||
| 1 | + name: test | ||
| 2 | + | ||
| 3 | + on: [pull_request] | ||
| 4 | + | ||
| 5 | + jobs: | ||
| 6 | + build-with-required-deps: | ||
| 7 | + runs-on: ${{ matrix.os }} | ||
| 8 | + strategy: | ||
| 9 | + matrix: | ||
| 10 | + os: [ubuntu-latest, macos-latest, windows-latest] | ||
| 11 | + python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3] | ||
| 12 | + steps: | ||
| 13 | + - uses: actions/checkout@v2 | ||
| 14 | + - name: Setup Python | ||
| 15 | + uses: actions/setup-python@v2 | ||
| 16 | + with: | ||
| 17 | + python-version: ${{ matrix.python-version }} | ||
| 18 | + - name: Install | ||
| 19 | + run: python setup.py install | ||
| 20 | + - name: Tests | ||
| 21 | + run: | | ||
| 22 | + pip install nose | ||
| 23 | + nosetests | ||
| 24 | + | ||
| 25 | + build-with-optional-deps: | ||
| 26 | + runs-on: ${{ matrix.os }} | ||
| 27 | + strategy: | ||
| 28 | + matrix: | ||
| 29 | + os: [ubuntu-latest, macos-latest, windows-latest] | ||
| 30 | + python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3] | ||
| 31 | + steps: | ||
| 32 | + - uses: actions/checkout@v2 | ||
| 33 | + - name: Setup Python | ||
| 34 | + uses: actions/setup-python@v2 | ||
| 35 | + with: | ||
| 36 | + python-version: ${{ matrix.python-version }} | ||
| 37 | + - name: Install with optional dependencies | ||
| 38 | + run: | | ||
| 39 | + pip install regex | ||
| 40 | + python setup.py install | ||
| 41 | + - name: Tests | ||
| 42 | + run: | | ||
| 43 | + pip install nose | ||
| 44 | + nosetests | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments