-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from SenteraLLC/ssm-4092-m3m-support
SSM-4092: Add Support for Mavic 3 Multispectral
- Loading branch information
Showing
11 changed files
with
382 additions
and
337 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,44 @@ | ||
name: Lint and Test | ||
on: | ||
push: | ||
branches-ignore: | ||
[master] | ||
|
||
jobs: | ||
lint: | ||
name: Lint and test | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Exiftool | ||
run: | | ||
wget https://exiftool.org/Image-ExifTool-12.52.tar.gz | ||
gzip -dc Image-ExifTool-12.52.tar.gz | tar -xf - | ||
cd Image-ExifTool-12.52 | ||
perl Makefile.PL | ||
sudo make install | ||
cd .. | ||
- name: Install poetry dependency manager | ||
run: pipx install poetry==1.5.1 | ||
|
||
- name: Setup Python environment | ||
uses: actions/setup-python@v4.7.1 | ||
with: | ||
cache: poetry | ||
|
||
- name: Enforce style guides and lint rules | ||
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0 | ||
|
||
- name: Install dependencies | ||
run: poetry install | ||
|
||
- name: Run unit tests | ||
run: poetry run pytest | ||
|
||
- name: Confirm repo is clean | ||
run: git diff-index --quiet HEAD |
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: Main branch | ||
on: | ||
push: | ||
branches: master | ||
|
||
jobs: | ||
version: | ||
name: Generate a version | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- id: version | ||
name: Generate a date-based version | ||
run: echo "version=$(date +'%Y.%m%d.%H%M%S')" >> "$GITHUB_OUTPUT" | ||
outputs: | ||
version: ${{ steps.version.outputs.version }} | ||
|
||
release: | ||
name: Create a GitHub Release | ||
needs: [version] | ||
runs-on: ubuntu-20.04 | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Create a GitHub Release | ||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 | ||
with: | ||
result-encoding: string | ||
retries: 3 | ||
script: | | ||
github.rest.repos.createRelease({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
tag_name: "${{needs.version.outputs.version}}", | ||
target_commitish: context.sha, | ||
name: "${{needs.version.outputs.version}}", | ||
generate_release_notes: true | ||
}) |
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.7.1" | ||
__version__ = "1.7.2" |
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
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
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
Oops, something went wrong.