Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #589

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #589

Workflow file for this run

# Compare: https://github.com/peter-evans/docker-compose-actions-workflow
name: Tests
on:
push:
branches:
- main
- prod
paths-ignore:
- 'docs/**'
pull_request:
branches:
- main
- prod
paths-ignore:
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the stack
run: docker-compose build
- name: Test
run: >
docker-compose run
-v ${PWD}/tests:/opt/app/tests
--entrypoint="/bin/sh -c 'sleep 1
&& python3.9 -m alembic upgrade head
&& apt-get install -y git
&& pip install \".[dev]\"
&& pytest tests -vx'"
web