Stripe Fees #501
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: Django Vendor Develop | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install mistune==0.8.4 | |
python -m pip install m2r | |
python -m pip install -e .[dev,authorizenet,stripe,test] | |
- name: Run Core Tests | |
run: | | |
cd develop | |
python manage.py test | |
python manage.py makemigrations --check --dry-run | |
env: | |
DJANGO_DEBUG: 1 | |
# DATABASE_URL: postgres://postgres:[email protected]:5432/vendor # Using default SQLite | |
- name: Run Base Processor Tests | |
run: | | |
cd develop | |
python manage.py test vendor.tests.test_processor.BaseProcessorTests | |
env: | |
DJANGO_DEBUG: 1 | |
# DATABASE_URL: postgres://postgres:[email protected]:5432/vendor # Using default SQLite | |
# - name: Run Authorize.Net Tests | |
# run: | | |
# cd develop | |
# python manage.py test vendor.tests.test_processor.AuthorizeNetProcessorTests | |
# env: | |
# DJANGO_DEBUG: 1 | |
# # DATABASE_URL: postgres://postgres:[email protected]:5432/vendor # Using default SQLite | |
# AUTHORIZE_NET_API_ID: ${{ secrets.AUTHORIZE_NET_API_ID }} | |
# AUTHORIZE_NET_TRANSACTION_KEY: ${{ secrets.AUTHORIZE_NET_TRANSACTION_KEY }} | |
# AUTHORIZE_NET_TRANSACTION_TYPE_DEFAULT: "authCaptureTransaction" | |
# VENDOR_PAYMENT_PROCESSOR: "authorizenet.AuthorizeNetProcessor" |