Skip to content

Commit

Permalink
add static and test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarshak committed Nov 19, 2024
1 parent 67e3cb6 commit 1aa4913
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Static Analysis (Flake8/Ruff)

on: push

jobs:
# Docs: https://github.com/ASFHyP3/actions
call-flake8-workflow:
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
local_package_names: dist_s1_enumerator

call-secrets-analysis-workflow:
uses: ASFHyP3/actions/.github/workflows/[email protected]

call-ruff-workflow:
uses: ASFHyP3/actions/.github/workflows/[email protected]
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test

on:
workflow_dispatch:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
call-pytest-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
local_package_name: dist_s1
python_versions: >-
["3.12", "3.13"]

0 comments on commit 1aa4913

Please sign in to comment.