-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removing coverage computation * moving from travis to gitbug actions. * setting fake name/email for git.
- Loading branch information
1 parent
30bc99c
commit 42676a3
Showing
5 changed files
with
41 additions
and
12 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: unit-tests | ||
on: | ||
# Trigger the workflow on push or pull request, | ||
# but only for the main branch | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: python-3.7 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
- name: install-dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -e . | ||
- name: print env | ||
run: | | ||
env | ||
- name: pytorch-test | ||
run: | | ||
./tests/end2end_pytorch/run.sh | ||
- name: tensorflow-test | ||
run: | | ||
./tests/end2end_tensorflow/run.sh | ||
- name: doc-creation-test | ||
run: | | ||
./tests/test_docs/run.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ cd ${DIR} | |
cookiecutter ../.. --no-input --output-dir=./ | ||
cd wonderful_project | ||
git init | ||
# setting some fake name/email for git: | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
git add -A | ||
git commit -m "initial commit" | ||
pip install -e . --quiet | ||
|
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 |
---|---|---|
|
@@ -7,6 +7,9 @@ cd ${DIR} | |
python -c "from cookiecutter.main import cookiecutter; cookiecutter('../..', no_input=True, extra_context={'dl_framework': 'tensorflow_cpu'}, output_dir='./')" | ||
cd wonderful_project | ||
git init | ||
# setting some fake name/email for git: | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
git add -A | ||
git commit -m "initial commit" | ||
pip install -e . --quiet | ||
|
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