Skip to content

Bump pytest-asyncio from 0.21.0 to 0.23.4 in /backend #97

Bump pytest-asyncio from 0.21.0 to 0.23.4 in /backend

Bump pytest-asyncio from 0.21.0 to 0.23.4 in /backend #97

Workflow file for this run

# name: Build and test
# on: [workflow_dispatch, push]
# jobs:
# test:
# runs-on: ubuntu-latest
# env:
# DOCKER_BUILDKIT: 1
# COMPOSE_DOCKER_CLI_BUILD: 1
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
# - name: Build backend
# id: docker_build_backend
# uses: docker/build-push-action@v2
# with:
# push: false
# tags: "fastapi_template-backend:latest"
# cache-from: type=gha
# cache-to: type=gha,mode=max
# context: backend
# load: true
# - name: Build frontend
# id: docker_build_frontend
# uses: docker/build-push-action@v2
# with:
# push: false
# tags: "fastapi_template-frontend:latest"
# cache-from: type=gha,scope=ci-test
# cache-to: type=gha,mode=max,scope=ci-test
# context: frontend
# load: true
# - name: Start containers and run tests
# run: |
# mv env-template .env
# docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d
# docker-compose exec -T postgres createdb -U postgres apptest
# - name: Check that models are in sync with alembic migrations
# run: |
# docker-compose exec -T backend alembic upgrade head
# docker-compose exec -T backend alembic check
# - name: Run tests
# run: |
# docker-compose exec -T backend pytest -v --cov --cov-report term-missing
# - name: Cypress run
# uses: cypress-io/github-action@v5
# env:
# # Add Cypress key to Github project settings if you want to
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# # Set to true to record
# record: false
# working-directory: frontend
# - name: Log docker status
# if: ${{ always() }}
# run: |
# docker-compose ps
# docker-compose logs -t