Skip to content

Commit

Permalink
chore: update CI build properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jul 27, 2021
1 parent a2fee63 commit f149155
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
on: [push, pull_request]
name: Test

env:
PACT_BROKER_BASE_URL: https://testdemo.pactflow.io
PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN }}
REACT_APP_API_BASE_URL: http://localhost:8080
APP_SHA: ${{ github.sha }}
APP_BRANCH: ${{ github.ref }}
LD_LIBRARY_PATH: /tmp
PACT_GO_LIB_DOWNLOAD_PATH: /tmp
LOG_LEVEL: trace

jobs:
test:
strategy:
Expand All @@ -9,13 +20,6 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Set Golang shared lib directory for GH Actions
run: |
echo "LD_LIBRARY_PATH=/tmp" >> $GITHUB_ENV
echo "PACT_GO_LIB_DOWNLOAD_PATH=/tmp" >> $GITHUB_ENV
echo "LOG_LEVEL=trace" >> $GITHUB_ENV
echo "APP_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "APP_SHA=${GITHUB_SHA}" >> $GITHUB_ENV
- name: Install Go
uses: actions/setup-go@v2
with:
Expand Down

0 comments on commit f149155

Please sign in to comment.