Skip to content

Commit

Permalink
Fix problems with env variables and more
Browse files Browse the repository at this point in the history
  • Loading branch information
louilinn committed Feb 16, 2021
1 parent 2e1bf70 commit 490852e
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Run tests on push and pull request
name: Run tests

on: [push, pull_request]

jobs:
setup:
tests:
runs-on: ubuntu-latest
env:
CIRCLES_DOCKER: $HOME/CirclesUBI/circles-docker
CIRCLES_CORE: $HOME/CirclesUBI/circles-core
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

steps:
- name: Add hosts to /etc/hosts
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
#env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
sudo echo "api.circles.local" | sudo tee -a /etc/hosts
sudo echo "graph.circles.local" | sudo tee -a /etc/hosts
Expand All @@ -35,14 +40,11 @@ jobs:
- name: Try starting failed services
run: make up

#- name: Copy core configs
# run: |
# cd $TRAVIS_BUILD_DIR
# cp .env.example .env
- name: Copy core configs
run: |
cd $CIRCLES_CORE
cp .env.example .env
test:
runs-on: ubuntu-latest
steps:
- name: Setup Node
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 490852e

Please sign in to comment.