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