Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move env attribute to job block
  • Loading branch information
fabidick22 committed Mar 25, 2020
commit 032997826464658cb5cf71eb6690efa83f2e1466
12 changes: 6 additions & 6 deletions .github/workflows/CI-time-tracker-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
name: Running unit tests
runs-on: ubuntu-latest
timeout-minutes: 90
env:
SCOPES: {{ $secrets.scopes }}
CLIENT_ID: {{ $secrets.client_id }}
AUTHORITY: {{ $secrets.authority }}
BASE_PATH: "src/environments/"
steps:
- name: Clone and checkout branch
uses: actions/checkout@master
Expand All @@ -56,11 +61,6 @@ jobs:
data["authority"] = os.environ['AUTHORITY']
with open(base_path + "keys.json", "w+") as jsonFileWrite:
json.dump(data, jsonFileWrite)
env:
SCOPES: {{ $secrets.scopes }}
CLIENT_ID: {{ $secrets.client_id }}
AUTHORITY: {{ $secrets.authority }}
BASE_PATH: "src/environments/"


- name: Run the test
run: npm run ci-test --if-present