Skip to content

Commit

Permalink
Added github workflow to run pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbuiten committed Jan 31, 2024
1 parent e8e9a9f commit ed16464
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Tests
on: [pull_request]

jobs:
run_tests:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and start containers
run: docker-compose up -d --build meldingen-core

- name: Test migrations
run: docker-compose exec -T meldingen-core pytest -v

0 comments on commit ed16464

Please sign in to comment.