Skip to content

add sys path to tests #24

add sys path to tests

add sys path to tests #24

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- master
jobs:
test:
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.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Start Cassandra
run: |
python start_cassandra.py
sleep 60 # Wait for 30 seconds to ensure Cassandra is ready
- name: Run tests
run: |
pytest tests/