From e3b6000f5645cbb48ff152ee8f9989f34d414ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20W=C4=85troba?= <markowanga@gmail.com> Date: Tue, 15 Jun 2021 07:27:37 +0200 Subject: [PATCH] Add github metadata --- .github/ISSUE_TEMPLATE.md | 15 +++++++++++++++ .github/workflows/python-package.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/workflows/python-package.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..5d31783 --- /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 0000000..a4e456a --- /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 -- GitLab