-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a GitHub Actions CI configuration for testing and linting (#316)
* Add GitHub Actions CI configuration for testing and linting * test CI configuration * add setuptools in the requireents-dev.txt * setuptools_scm_git_archive==1.1 -> 1.4 in the setup.cfg * edit build.yml * get_self_version import * check create_aio_app.utils contents * testing * add setuptools_scm>=3.4 in the requirements-dev.txt * remove unnecessary part in the build.yml
- Loading branch information
Showing
3 changed files
with
42 additions
and
1 deletion.
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,39 @@ | ||
name: Build Status | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Run tests, linters, and type checkers | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
pip install --upgrade pip | ||
pip install -r requirements-dev.txt | ||
- name: Run tests | ||
run: make test | ||
|
||
- name: Run flake8 linter | ||
run: make flake | ||
|
||
- name: Run bandit | ||
run: make bandit | ||
|
||
- name: Check reStructuredText | ||
run: make checkrst | ||
|
||
- name: Run pyroma | ||
run: make pyroma |
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 |
---|---|---|
|
@@ -14,3 +14,5 @@ doc8==0.10.1 | |
Pygments==2.10.0 | ||
twine==3.7.1 | ||
pep517==0.12.0 | ||
setuptools_scm_git_archive==1.4 | ||
setuptools_scm>=3.4 |
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