doc: fix sorting #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: fastapi-sqlalchemy-toolkit tests CI | |
on: | |
push: | |
branches: ["**"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start Compose | |
run: docker compose -f tests/docker-compose.yml up -d | |
- name: Build Image | |
run: docker build -t test_toolkit:latest --file tests/Dockerfile . | |
- name: Run Tests in Container | |
run: docker run --name toolkit-test --network toolkit-test test_toolkit:latest | |
- name: Remove Container | |
run: docker rm toolkit-test | |
- name: Stop Compose | |
run: docker compose -f tests/docker-compose.yml down |