Skip to content

Commit

Permalink
Create morango.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GarvitSinghal47 authored Feb 20, 2024
1 parent 4f12ce5 commit 4fce7e8
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/morango.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Morango Integration Tests

on:
schedule:
- cron: '0 0 * * 0' # Run every Sunday at midnight UTC

jobs:
morango_integration_tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies
run: |
pip install tox
pip install psycopg2-binary # Install PostgreSQL driver
- name: Run Morango Integration Tests with SQLite
env:
INTEGRATION_TEST: true
run: tox -e morango-integration-sqlite

- name: Run Morango Integration Tests with PostgreSQL
if: success()
env:
INTEGRATION_TEST: true
run: make test-with-postgres

0 comments on commit 4fce7e8

Please sign in to comment.