-
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.
- Loading branch information
1 parent
365ecd5
commit 25c8f1f
Showing
3 changed files
with
51 additions
and
2 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,46 @@ | ||
name: python-3.6 | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Cache VirtualEnv | ||
id: cache-venv | ||
uses: actions/cache@v1 | ||
with: | ||
path: .venv | ||
key: ${{ runner.os }}-${{ hashFiles('*.txt') }} | ||
|
||
- uses: actions/checkout@v1 | ||
- id: bento | ||
name: Bento | ||
uses: returntocorp/bento-action@v1 | ||
with: | ||
acceptTermsWithEmail: gabriel@nacaolivre.org | ||
|
||
- name: Unit Tests | ||
run: make unit | ||
|
||
- name: Functional Tests | ||
run: make functional | ||
|
||
- name: Randomize All Tests | ||
run: make tests | ||
|
||
- name: "Upload coverage results to codecov.io" | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: ./coverage.xml # optional |
2 changes: 1 addition & 1 deletion
2
.github/workflows/python-tests.yml → .github/workflows/python-3.7.yml
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,4 +1,4 @@ | ||
name: python-tests | ||
name: python-3.7 | ||
|
||
on: | ||
push: | ||
|
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