Skip to content

Commit

Permalink
Merge pull request #33 from mlibrary/continuous_integration
Browse files Browse the repository at this point in the history
GitHub Action Workflow Continuous Integration
  • Loading branch information
gkostin1966 authored Jan 23, 2025
2 parents ca1e2fb + 0e79853 commit e58c466
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Continuous Integration

on:
workflow_dispatch:
push:
pull_request:
branches:
- 'main'

jobs:
ci:
if: ${{ github.event_name == 'push' || github.event.pull_request.merged == true }}

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: |
./init.sh
docker compose run --rm app poetry run pytest

0 comments on commit e58c466

Please sign in to comment.