Skip to content

Commit 072220d

Browse files
committed
build: on frontier v0.8.2
- commit df8151fb7b24a0c2f2072257bd82516b816cdd30 Signed-off-by: Kush Sharma <[email protected]>
1 parent 39d1788 commit 072220d

File tree

2,078 files changed

+109918
-209347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,078 files changed

+109918
-209347
lines changed

.github/workflows/python.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5+
6+
name: frontier_api Python package
7+
8+
on: [push, pull_request]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8 pytest
28+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30+
- name: Lint with flake8
31+
run: |
32+
# stop the build if there are Python syntax errors or undefined names
33+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
36+
- name: Test with pytest
37+
run: |
38+
pytest

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ var/
3333
# Installer logs
3434
pip-log.txt
3535
pip-delete-this-directory.txt
36-
dev-requirements.txt.log
3736

3837
# Unit test / coverage reports
3938
htmlcov/
@@ -65,4 +64,3 @@ target/
6564

6665
#Ipython Notebook
6766
.ipynb_checkpoints
68-
temp

0 commit comments

Comments
 (0)