Skip to content

Commit

Permalink
add env vars at top of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiazza committed Apr 16, 2024
1 parent 11cef1b commit 8ca924a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
name: cti-python-stix2 test harness
on: [push, pull_request]

env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres

jobs:
test-job:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -40,10 +45,6 @@ jobs:
pip install tox-gh-actions
pip install codecov
- name: Test with Tox
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
run: |
tox
- name: Upload coverage information to Codecov
Expand Down

0 comments on commit 8ca924a

Please sign in to comment.