Skip to content

Commit

Permalink
Test again
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Jan 7, 2025
1 parent d79f99a commit d0f5e05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,50 +33,3 @@ jobs:
# Run pip-compile - but only if requirements.in or
# dev-requirements.in have changed in this pull request's diff.
pre-commit run pip-compile --from-ref=$GITHUB_BASE_REF --to-ref=$GITHUB_HEAD_REF
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install package
run: |
pip install pip-tools>=6.2.0
pip-sync requirements.txt dev-requirements.txt
pip install .
- name: Run unit tests
run: pytest

integration-test:
runs-on: ubuntu-latest
concurrency: integration-test
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Set up AWS credentials (for local environment)
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Install package
run: |
pip install pip-tools>=6.2.0
pip-sync requirements.txt dev-requirements.txt
pip install .
- name: Run integration tests
run: pytest
env:
ALERTDB_TEST_ENDPOINT: ${{ secrets.GCP_PROJECT_ID }}
1 change: 0 additions & 1 deletion alertdb/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def get_schema(self, schema_id: str) -> bytes:


class USDFObjectStorageBackend(AlertDatabaseBackend):

def __init__(
self, endpoint_url: str, packet_bucket_name: str, schema_bucket_name: str
):
Expand Down

0 comments on commit d0f5e05

Please sign in to comment.