Skip to content

Commit

Permalink
implementation of forge py
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Apr 29, 2024
1 parent 860a7ff commit 5a6569a
Show file tree
Hide file tree
Showing 27 changed files with 2,434 additions and 121 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
#ignore = ...
max-line-length=180
13 changes: 6 additions & 7 deletions .github/build.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.11'
- name: Install Poetry
uses: abatilo/actions-poetry@v3
with:
Expand Down Expand Up @@ -191,17 +191,16 @@ jobs:
# These are gradle-specific steps for installing the application
- name: Install Software
run: |
pip install setuptools -U
pip install pylint
pip install pytest
poetry install
# This is where tests go
#- name: Run Poetry Tests
# run: |
# poetry run pylint podaac
# poetry run flake8 podaac
# poetry run pytest --junitxml=build/reports/pytest.xml --cov=podaac/ --cov-report=html -m "not aws and not integration" tests/
- name: Run Poetry Tests
run: |
poetry run pylint podaac
poetry run flake8 podaac
poetry run pytest --junitxml=build/reports/pytest.xml --cov=podaac/ --cov-report=html -m "not aws and not integration" tests/
# poetry run pytest --junitxml=build/reports/pytest.xml --cov=podaac/ --cov-report=xml:build/reports/coverage.xml -m "not aws and not integration" tests/

## TODO: Find out where the test report goes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
ref: 'refs/heads/develop'
- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.11'
- name: Install Poetry
uses: abatilo/actions-poetry@v3
with:
Expand Down
File renamed without changes.
Loading

0 comments on commit 5a6569a

Please sign in to comment.