Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove data artifacts that are now migrated to the database #136

Merged
merged 3 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Run Tests

on: [push, pull_request]

Expand Down
167 changes: 0 additions & 167 deletions data/contributors.json

This file was deleted.

Empty file removed data/notified_events.json
Empty file.
Empty file removed data/ongoing_votes.json
Empty file.
1 change: 0 additions & 1 deletion data/posted_events.json

This file was deleted.

68 changes: 0 additions & 68 deletions scripts/migrate_to_db.py

This file was deleted.

3 changes: 1 addition & 2 deletions tests/test_database.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import pytest
import os
from datetime import datetime
from sqlalchemy import create_engine, JSON, Text
from sqlalchemy import create_engine, Text
from sqlalchemy.orm import sessionmaker
from sqlalchemy.types import TypeDecorator
from database.models import Base, Contributor, Event, OngoingVote, ConcludedVote
Expand Down
88 changes: 0 additions & 88 deletions tests/test_migrations.py

This file was deleted.

4 changes: 1 addition & 3 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import pytest
from sqlalchemy import inspect
from database.models import Base
from tests.test_database import TEST_DB_URL, test_db
from tests.test_database import test_db


def test_table_exists(test_db):
Expand Down