Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
777d0d5c
Commit
777d0d5c
authored
May 20, 2021
by
carlosribas
Browse files
Add a new job to run unit tests
parent
adeb141c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
.github/workflows/main.yml
.github/workflows/main.yml
+27
-0
No files found.
.github/workflows/main.yml
View file @
777d0d5c
# This workflow will run the unit tests and create a new image on the Docker Hub.
# At least for now, the image will be created regardless of whether the tests are run successfully or not.
#
# References:
# - https://docs.github.com/en/actions/guides/building-and-testing-python
# - https://github.com/marketplace/actions/slack-notify
name
:
Building Docker containers
# Triggers the workflow on push or pull request events
on
:
[
push
,
pull_request
]
jobs
:
test
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
3.8
uses
:
actions/setup-python@v2
with
:
python-version
:
'
3.8'
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install -r rnacentral/requirements.txt
pip install -r rnacentral/requirements_dev.txt
-
name
:
Run tests
run
:
|
python rnacentral/manage.py test sequence_search
initial-notification
:
runs-on
:
ubuntu-latest
steps
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment