Skip to content

Fix buggy key check. #1361

Fix buggy key check.

Fix buggy key check. #1361

Workflow file for this run

name: Build and run tests for makeradmin
on:
push:
branches: [main]
pull_request:
types: [synchronize, opened]
jobs:
firstrun:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Make env
run: make .env
- name: Build container
run: make build
- name: Create the database
run: docker compose run api bash -c 'yes "" | python3 firstrun.py'
env:
FIRSTRUN_AUTO_ADMIN_FIRSTNAME: maker
FIRSTRUN_AUTO_ADMIN_LASTNAME: makersson
FIRSTRUN_AUTO_ADMIN_EMAIL: [email protected]
FIRSTRUN_AUTO_ADMIN_PASSWORD: not_a_real_passw0rd
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build docker
run: make build
- name: Run tests
run: make test
stripe-tests:
runs-on: ubuntu-latest
concurrency: stripe
steps:
- uses: actions/checkout@v4
- 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 }}