Skip to content

Commit

Permalink
using global env variable for EMG_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-salazar committed Mar 25, 2021
1 parent 44f4c37 commit 9ae083b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Testing

on: [push, pull_request]

env:
EMG_CONFIG: "${GITHUB_WORKFLOW}ci/configuration.yaml"
jobs:
build:

Expand All @@ -27,7 +29,6 @@ jobs:
mysql password: secret
- name: ⚙️ - Configure environment
run: |
export EMG_CONFIG=./ci/configuration.yaml
python -V
- name: 🔧 - Install Dependencies
run: |
Expand All @@ -43,7 +44,7 @@ jobs:
pip freeze
- name: 🧪 - Testing
run: |
echo $EMG_CONFIG
echo "config path: ${EMG_CONFIG}"
cat $EMG_CONFIG
python setup.py test
- name: Flake
Expand Down

0 comments on commit 9ae083b

Please sign in to comment.