Skip to content

Commit

Permalink
revert avo clone
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Nov 21, 2023
1 parent 8dd18de commit 9e1384d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/feature-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,29 @@ jobs:
restore-keys: |
${{ runner.os }}-test-gems-${{ hashFiles('**/Gemfile.lock') }}
- name: Clone Avo
uses: actions/checkout@v3
with:
repository: avo-hq/avo
path: avo
token: ${{ secrets.AVO_CLONE_KEY }}

- name: Move Avo up one folder
run: mv ./avo ./../avo

- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Compile Avo assets (development mode)
run: |
cd ../avo
bundle install
bin/rails avo:sym_link
yarn install
yarn build
- name: Setup DB
run: bin/rails db:migrate:reset

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,29 @@ jobs:
restore-keys: |
${{ runner.os }}-test-gems-${{ hashFiles('**/Gemfile.lock') }}
- name: Clone Avo
uses: actions/checkout@v3
with:
repository: avo-hq/avo
path: avo
token: ${{ secrets.AVO_CLONE_KEY }}

- name: Move Avo up one folder
run: mv ./avo ./../avo

- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Compile Avo assets (development mode)
run: |
cd ../avo
bundle install
bin/rails avo:sym_link
yarn install
yarn build
- name: Setup DB
run: bin/rails db:migrate:reset

Expand Down

0 comments on commit 9e1384d

Please sign in to comment.