Merge pull request #6 from OpenSourceBrain/development #22
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: Python install and test | |
on: | |
push: | |
branches: [ "main", "development" ] | |
pull_request: | |
branches: [ "main", "development" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.7", "3.9", "3.10", "3.11"] | |
runs-on: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install | |
run: | | |
pip install . | |
- name: Test listing | |
run: | | |
nsgr_job -h # print usage | |
# nsgr_job -l # will fail with error about config file | |
- name: Test submitting | |
run: | | |
# nsgr_submit # print usage | |
- name: Final version info | |
run: | | |
pip list |