Skip to content

Scan For New Associations #2

Scan For New Associations

Scan For New Associations #2

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on: workflow_dispatch
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
strategy:
fail-fast: false
max-parallel: 2
matrix:
env: [ "uat", "ops" ]
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Checks-out the l2ss-py repository to $GITHUB_WORKSPACE/l2ss-py
- name: Checkout l2ss-py
uses: actions/checkout@v3
with:
repository: podaac/l2ss-py
path: './l2ss-py'
- uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.5.1
- name: Run diff
env:
UAT_TOKEN_TEMP: ${{ secrets.UAT_TOKEN_TEMP }}
run: |
poetry install
poetry run cmr_association_diff -e uat -t service -p POCLOUD -n 'PODAAC L2 Cloud Subsetter' -a $GITHUB_WORKSPACE/l2ss-py/cmr/uat_associations.txt --token $UAT_TOKEN_TEMP