From e2743b34be5cea12581467d01e33a56c7865f225 Mon Sep 17 00:00:00 2001 From: nemanjamart <72038561+nemanjamart@users.noreply.github.com> Date: Wed, 10 Feb 2021 19:09:41 -0500 Subject: [PATCH] Add github actions to the repo Add yaml for the new CI (github actions). --- .github/workflows/python_actions.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/python_actions.yml diff --git a/.github/workflows/python_actions.yml b/.github/workflows/python_actions.yml new file mode 100644 index 0000000..0760846 --- /dev/null +++ b/.github/workflows/python_actions.yml @@ -0,0 +1,28 @@ +name: Python CI actions + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + + - name: Install dependencies + run: | + python -m pip install --upgrade setuptools pip + pip install -U -r requirements.txt + pip install -U -r dev-requirements.txt + + - name: Test with pytest + run: | + pytest + + - run: coveralls