-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/ebi-search-dump-migration
- Loading branch information
Showing
36 changed files
with
628 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,18 +4,17 @@ on: [push, pull_request] | |
env: | ||
EMG_CONFIG: ${{ github.workspace }}/ci/configuration.yaml | ||
|
||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9] | ||
# TODO: Temporarily removed 3.7.1, waiting for https://github.com/celery/celery/issues/7783 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: 🐍 - Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -25,6 +24,7 @@ jobs: | |
uses: supercharge/[email protected] | ||
with: | ||
mongodb-version: 4.0.6 | ||
|
||
- name: ⚙️ - Checking environment | ||
run: | | ||
python -V | ||
|
@@ -35,19 +35,21 @@ jobs: | |
- name: 🔧 - Install Dependencies | ||
run: | | ||
pip install -U -r requirements.txt | ||
pip install -U -r requirements-test.txt | ||
pip install install .[tests] | ||
pip freeze | ||
- name: 🧪 - Testing | ||
run: | | ||
cat $EMG_CONFIG | ||
pytest | ||
# TODO: disabled until black formatting completed and all flake issues fixed | ||
# - name: Flake | ||
# continue-on-error: true | ||
# run: | | ||
# flake8 --version | ||
# flake8 -v . | ||
|
||
- name: 📮 - Slack Notification | ||
uses: rtCamp/action-slack-notify@v2 | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,8 @@ fixtures/*.sig | |
|
||
.coverage | ||
/build/ | ||
|
||
loglockdir | ||
logs | ||
|
||
secret.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
include README.rst | ||
include README.md | ||
include LICENSE | ||
include requirements.txt | ||
include pyproject.toml | ||
recursive-include tests * | ||
recursive-include emgcli * | ||
recursive-include emgapi * | ||
recursive-include emgapianns * | ||
recursive-include emgui * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.pyc | ||
recursive-include genome_fixtures * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 3.2.18 on 2023-07-17 13:35 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('emgapi', '0009_genome_annotations_v2_downloads'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='RunExtraAnnotation', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('realname', models.CharField(db_column='REAL_NAME', max_length=255)), | ||
('alias', models.CharField(db_column='ALIAS', max_length=255)), | ||
('file_checksum', models.CharField(blank=True, db_column='CHECKSUM', max_length=255)), | ||
('checksum_algorithm', models.ForeignKey(blank=True, db_column='CHECKSUM_ALGORITHM', null=True, on_delete=django.db.models.deletion.CASCADE, to='emgapi.checksumalgorithm')), | ||
('description', models.ForeignKey(blank=True, db_column='DESCRIPTION_ID', null=True, on_delete=django.db.models.deletion.CASCADE, to='emgapi.downloaddescriptionlabel')), | ||
('file_format', models.ForeignKey(blank=True, db_column='FORMAT_ID', null=True, on_delete=django.db.models.deletion.CASCADE, to='emgapi.fileformat')), | ||
('group_type', models.ForeignKey(blank=True, db_column='GROUP_ID', null=True, on_delete=django.db.models.deletion.CASCADE, to='emgapi.downloadgrouptype')), | ||
('parent_id', models.ForeignKey(blank=True, db_column='PARENT_DOWNLOAD_ID', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='parent', to='emgapi.runextraannotation')), | ||
('run', models.ForeignKey(db_column='RUN_ID', on_delete=django.db.models.deletion.CASCADE, related_name='extra_annotations', to='emgapi.run')), | ||
('subdir', models.ForeignKey(blank=True, db_column='SUBDIR_ID', null=True, on_delete=django.db.models.deletion.CASCADE, to='emgapi.downloadsubdir')), | ||
], | ||
options={ | ||
'db_table': 'RUN_DOWNLOAD', | ||
'ordering': ('group_type', 'alias'), | ||
'unique_together': {('realname', 'alias', 'run')}, | ||
}, | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
emgapi/migrations/0011_analysisjob_analysis_summary_json.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.2.18 on 2023-09-13 10:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('emgapi', '0010_runextraannotation'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='analysisjob', | ||
name='analysis_summary_json', | ||
field=models.JSONField(blank=True, db_column='ANALYSIS_SUMMARY_JSON', null=True), | ||
), | ||
] |
Oops, something went wrong.