-
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.
Github actions to run basic continuos integration tools.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 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,37 @@ | ||
name: Pull request workflows | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
name: "Rendering README" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "📥 Fetching Repository Contents" | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.ref_name }} | ||
|
||
- name: "🤖 Check flake8" | ||
run: | | ||
python -m pip install flake8 | ||
flake8 | ||
name: "Run python tests" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "📥 Fetching Repository Contents" | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.ref_name }} | ||
|
||
- name: "💫 Install package dependencies" | ||
run: | | ||
python -m pip install pytest | ||
python -m pip install -r requirements.txt | ||
- name: "🤖 Run pytest" | ||
run: | | ||
pytest test |