Skip to content

Merge branch 'master' into fix/remove-http-yaml #377

Merge branch 'master' into fix/remove-http-yaml

Merge branch 'master' into fix/remove-http-yaml #377

Workflow file for this run

name: Python API Tests
on:
push:
branches: ["**"]
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
env:
NODE_ENV: test
jobs:
check-all:
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
run_install: false
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9.21'
- name: Install Dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
pnpm install --frozen-lockfile
pnpm setup-python
- name: Up for tests API
run: docker compose up --build -d api db test_db
- name: Tests API
run: pnpm test:api
- name: Down for tests API
if: always()
run: docker compose down