Skip to content

Commit

Permalink
add CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Apr 7, 2024
1 parent 84d6f22 commit 5969eea
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
push:
pull_request:

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v2

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

- name: Build and run tests
run: docker-compose up --build --exit-code-from test

- name: Clean up
run: docker-compose down
Empty file added api/tests/__init__.py
Empty file.

0 comments on commit 5969eea

Please sign in to comment.