Skip to content

feat: 100 display token in api UI #256

feat: 100 display token in api UI

feat: 100 display token in api UI #256

Workflow file for this run

name: Build and Test
on:
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
env:
python_version: '3.10'
java_version: '11' # needed by setup-openapi-generator.sh
jobs:
build-test:
runs-on: ubuntu-latest
permissions: write-all
name: Build & Test
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK ${{ env.java_version }}
uses: actions/setup-java@v3
with:
java-version: ${{ env.java_version }}
distribution: 'temurin'
- uses: actions/setup-python@v4
with:
python-version: ${{ env.python_version }}
- name: Docker Compose DB/Liquibase for db-gen.sh
run: docker-compose --env-file ./config/.env.local up -d liquibase
working-directory: ${{ github.workspace }}
- name: Generate DB code
run: |
scripts/db-gen.sh
- name: Generate API code
run: |
scripts/setup-openapi-generator.sh
scripts/api-gen.sh
- name: Run lint checks
run: |
scripts/lint-tests.sh
- name: Run unit tests
run: |
scripts/api-tests.sh