Skip to content

Commit

Permalink
gh-actions: flake is not a failing step
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-salazar committed Mar 26, 2021
1 parent b17e95b commit d47f1b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
cat $EMG_CONFIG
python setup.py test
- name: Flake
continue-on-error: true
run: |
flake8 --version
flake8 -v .
Expand Down
12 changes: 0 additions & 12 deletions ci/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,7 @@ emg:
PASSWORD: 'root'
HOST: 127.0.0.1
PORT: 3306
# era:
# ENGINE: 'django.db.backends.oracle'
# NAME: testdb
# USER: test
# PASSWORD: test
# HOST: 127.0.0.1
# PORT: 3306
session_engine: 'django.contrib.sessions.backends.cache'
# caches:
# default:
# BACKEND: "django_redis.cache.RedisCache"
# LOCATION: "redis://127.0.0.1:6379/0"
# KEY_PREFIX: "emg"
emg_backend_auth: "https://backend"
mongodb:
db: 'testdb'
Expand Down
3 changes: 2 additions & 1 deletion tests/webuploader/test_import_samples_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@


@pytest.mark.django_db
@pytest.mark.skipif(('TRAVIS' in os.environ and os.environ['TRAVIS'] == 'true') or ('CI' in os.environ and os.environ['CI'] == 'true'),
@pytest.mark.skipif(('TRAVIS' in os.environ and os.environ['TRAVIS'] == 'true') or
('CI' in os.environ and os.environ['CI'] == 'true'),
reason='Skipping this test on Travis CI as internal databases are '
'required for full integration tests')
class TestImportSample(TransactionTestCase):
Expand Down

0 comments on commit d47f1b9

Please sign in to comment.