Skip to content

Commit

Permalink
Merge branch 'release-v0.7.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Jan 5, 2022
2 parents 1195014 + 278a40b commit 0dcc0f4
Show file tree
Hide file tree
Showing 136 changed files with 4,554 additions and 3,773 deletions.
3 changes: 0 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ logs/
**/*.pdf
**/*.log
**/*.egg-info
**/*.pyc
**/__pycache__
notebooks
examples
docs
build
coverage.xml

# Build and docs folder/files
Expand Down
10 changes: 6 additions & 4 deletions .gcloudignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
venv

# See note in .dockerignore about the git folder.
.git
!.git
.github

*.md
Expand All @@ -16,10 +16,12 @@ logs/
**/*.pdf
**/*.log
**/*.egg-info
**/*.pyc
**/__pycache__
notebooks
examples
docs
build
coverage.xml

# Build and docs folder/files
build/*
dist/*
sdist/*
18 changes: 10 additions & 8 deletions .github/workflows/pythontest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.7 ]
python-version: [ "3.10" ]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -19,29 +19,31 @@ jobs:
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# exit-zero treats all errors as warnings.
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=100 --statistics
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ 3.7 ]
os: [ ubuntu-latest ]
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build panoptes-pocs image
run: |
docker-compose -f tests/docker-compose.yaml --env-file tests/env build
- name: Test with pytest in panoptes-pocs container
run: |
docker-compose -f tests/docker-compose.yaml build
mkdir -p logs && chmod -R 777 logs
mkdir -p build && chmod -R 777 build
docker-compose -f tests/docker-compose.yaml --env-file tests/env run pocs pytest
- name: Test with pytest in panoptes-pocs container
run: |
docker-compose -f tests/docker-compose.yaml run pocs
- name: Upload coverage report to codecov.io
uses: codecov/codecov-action@v1
if: success()
with:
name: codecov-upload
token: ${{ secrets.CODECOV_TOKEN }}
file: build/coverage.xml
fail_ci_if_error: true
- name: Create log file artifact
Expand Down
28 changes: 14 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,31 +24,31 @@ tags

# Package files
*.egg
*.eggs/
*.eggs
.installed.cfg
*.egg-info

# Unittest and coverage
htmlcov/*
.coverage
htmlcov
.tox
junit.xml
coverage.xml
.coverage.*
.pytest_cache/
.coverage*
.pytest_cache
cover

# Build and docs folder/files
build/*
dist/*
sdist/*
docs/api/*
docs/_rst/*
docs/_build/*
cover/*
build
dist
sdist
docs/api
docs/_rst
docs/_build
MANIFEST

# Per-project virtualenvs
.venv*/
**/.ipynb_checkpoints/**
.venv*
.ipynb_checkpoints

logs
conf_files/*_local.yaml
217 changes: 0 additions & 217 deletions .style.yapf

This file was deleted.

Loading

0 comments on commit 0dcc0f4

Please sign in to comment.