Skip to content

Commit

Permalink
Add secrets to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu committed Dec 1, 2023
1 parent 3030adf commit 34b7cde
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- name: List dependencies
run: |
pip list
- name: Run unit tests with pytest
- name: Run ABFS unit tests with pytest
run: |
python -m pytest tests
python -m pytest tests --cloud abfs
env:
ABFS_LINCCDATA_ACCOUNT_NAME: ${{ secrets.LINCC_ABFS_ACCOUNT_NAME }}
ABFS_LINCCDATA_ACCOUNT_KEY: ${{ secrets.LINCC_ABFS_ACCOUNT_KEY }}
8 changes: 6 additions & 2 deletions .github/workflows/testing-and-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
pip install .
pip install .[dev]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run unit tests with pytest
- name: Run ABFS unit tests with pytest
run: |
python -m pytest tests
python -m pytest tests --cloud abfs
env:
ABFS_LINCCDATA_ACCOUNT_NAME: ${{ secrets.LINCC_ABFS_ACCOUNT_NAME }}
ABFS_LINCCDATA_ACCOUNT_KEY: ${{ secrets.LINCC_ABFS_ACCOUNT_KEY }}


1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers = [
dynamic = ["version"]
dependencies = [
# lsdb, hipscat, and hipscat-import are built from source via requirements.txt
"adlfs",
]

# On a mac, install optional dependencies with `pip install '.[dev]'` (include the single quotes)
Expand Down

0 comments on commit 34b7cde

Please sign in to comment.