feature/Added card validation endpoint #143
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mangopay2-python-sdk-ci | |
on: | |
push: | |
branches: | |
# push on master branch | |
- master | |
# push on a feature branch | |
- feature/* | |
# push on a bugfix branch | |
- bugfix/* | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.6 | |
- 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 |