Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run stripe tests in CI #410

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .github/workflows/makeradmin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "**"

jobs:
test:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Install prerequisites
Expand All @@ -18,7 +18,32 @@ jobs:
docker --version
docker-compose --version
- uses: actions/checkout@v2
- name: Init environment
run: make .env
- name: Build docker
run: make build
- name: Run tests
run: make test

stripe-tests:
runs-on: ubuntu-latest
concurrency: stripe
steps:
- name: Install prerequisites
run: |
sudo apt install -y python3-pip
pip3 install docker-compose
- name: List versions
run: |
docker --version
docker-compose --version
- uses: actions/checkout@v2
- name: Init environment
run: make .env
- name: Build docker
run: make build
- name: Run tests
run: make test
env:
STRIPE_PRIVATE_KEY: ${{ secrets.STRIPE_PRIVATE_KEY }}
STRIPE_PUBLIC_KEY: ${{ secrets.STRIPE_PUBLIC_KEY }}
Loading