Skip to content

Commit

Permalink
feat/fix: Add GitHub Actions workflow for PySparkl
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 10, 2024
1 parent a244fab commit eb85278
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pysparkler/.github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: PySparkler Test

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

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

- name: Install dependencies
run: pip install -r requirements.txt

- name: Set up PySparkler
run: pip install pysparkler

- name: Run tests
run: pytest

- name: Handle test failures
if: ${{ failure() }}
run: |
echo "Tests failed. Sending notification..."
# Add your notification logic here

0 comments on commit eb85278

Please sign in to comment.