Skip to content
Open
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
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install Poetry
run: pip install poetry

- name: Install dependencies
run: poetry install

- name: Run tests
run: poetry run pytest tests/ -v

- name: Run type checking
run: poetry run mypy --ignore-missing-imports src/
continue-on-error: true # Don't fail build yet
32 changes: 28 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,38 @@
debug_log.txt

# Ignore Python bytecode files
# Python bytecode files
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
*.egg-info/

# Test artifacts
.pytest_cache/
.coverage
htmlcov/
*.coverage

#output folder of results
# IDE
.vscode/
.idea/
*.swp

# OS
.DS_Store
Thumbs.db

# Temporary files
*.tmp
*.bak

# Output folder of results
output

#vim files
*.swp
# Generated data files
db_id_to_name_mapping.tsv
pathway_logic_network_*.csv
reaction_connections_*.csv
decomposed_uid_mapping_*.csv
best_matches_*.csv
Loading
Loading