-
Notifications
You must be signed in to change notification settings - Fork 0
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 #190 from nasa/feature/issue-134-expand-tests-with…
…-output-from-subsetter Feature/issue 134 expand tests with output from subsetter
- Loading branch information
Showing
19 changed files
with
389 additions
and
184 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,5 @@ | ||
flags: | ||
unittests: | ||
carryforward: false | ||
integration: | ||
carryforward: false |
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,64 @@ | ||
name: Integration Tests | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
secrets: | ||
DEK_EDL_USER: | ||
required: true | ||
DEK_EDL_PASSWORD: | ||
required: true | ||
codecov_token: | ||
required: true | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- release/** | ||
- feature/** | ||
|
||
# When this workflow is queued, automatically cancel any previous running | ||
# or pending jobs from the same branch | ||
concurrency: | ||
group: integration-tests-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
POETRY_VERSION: "1.3.2" | ||
PYTHON_VERSION: "3.10" | ||
|
||
jobs: | ||
integration-tests: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Retrieve repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: Set up Poetry | ||
uses: abatilo/actions-poetry@v3.0.0 | ||
with: | ||
poetry-version: ${{ env.POETRY_VERSION }} | ||
|
||
- name: Install package | ||
run: poetry install --with=integration --without harmony | ||
|
||
- name: Test | ||
env: | ||
EDL_USER: ${{ secrets.DEK_EDL_USER }} | ||
EDL_PASSWORD: ${{ secrets.DEK_EDL_PASSWORD }} | ||
run: | | ||
scripts/create-netrc | ||
poetry run pytest --cov=concatenator --cov-report=xml tests/integration | ||
- name: Upload coverage | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
flags: integration |
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
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.