Skip to content

[DRAFT] updated github actions config #293

[DRAFT] updated github actions config

[DRAFT] updated github actions config #293

Workflow file for this run

name: mangopay2-python-sdk-ci
on:
push:
branches:
- master
pull_request:
branches: [ master ]
jobs:
build:
name: Test on python ${{ matrix.python-version }}
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ "3.6", "3.8" ]
steps:
- name: Checkout repository
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 -r requirements/base.txt
pip install -r requirements/development.txt
- name: Run tests
run: |
python -m unittest discover