-
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.
rename workflow name, add manual workflow duplicate
- Loading branch information
Showing
2 changed files
with
31 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
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,29 @@ | ||
name: build-and-test-automation | ||
|
||
# run this workflow manually on GitHub | ||
on: | ||
workflow_dispatch: | ||
|
||
# define our jobs | ||
jobs: | ||
build_and_test: | ||
# define our OS | ||
runs-on: ubuntu-latest | ||
|
||
# rely on predefined GitHub actions to setup our python environment | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# setup python environment | ||
- name: setup | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
# install prerequisite packages for testing | ||
- name: install | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
pip install pytest | ||
# run tests using pytest | ||
- name: test | ||
run: | | ||
pytest tests/ |