diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000000000000000000000000000000000000..5d317839d1f4f2da03534748f8af31d1ca02572a --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,15 @@ +* sziszapangma version: +* Python version: +* Operating System: + +### Description + +Describe what you were trying to get done. +Tell us what happened, what went wrong, and what you expected to happen. + +### What I Did + +``` +Paste the command(s) you ran and the output. +If there was a crash, please include the traceback here. +``` diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml new file mode 100644 index 0000000000000000000000000000000000000000..a4e456ad2a36708a04722acb51f8441880e9d443 --- /dev/null +++ b/.github/workflows/python-package.yml @@ -0,0 +1,28 @@ +name: Python package + +on: + pull_request: + branches: [ master, develop ] + +jobs: + build: + + runs-on: ubuntu-18.04 + strategy: + matrix: + python-version: [ '3.8', '3.9' ] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox + pip install --upgrade -r requirements.txt + pip install --upgrade -r requirements_dev.txt + - name: Run tox + run: tox -v