fix: foss_spec github action (#6495)

* fix: foss_spec gh action
* chore: upload log artifact in foss_spec gh action
* chore: ping foss_spec gh action runner os version to ubuntu-20.04
* fix: set nodeversion to 16
This commit is contained in:
Vishnu Narayanan
2023-02-20 23:37:41 +05:30
committed by GitHub
parent c9242fac9e
commit 26f164d6a0

View File

@@ -15,7 +15,7 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
services: services:
postgres: postgres:
image: postgres:10.8 image: postgres:10.8
@@ -49,6 +49,10 @@ jobs:
with: with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/setup-node@v3
with:
node-version: 16
- name: yarn - name: yarn
run: yarn install run: yarn install
@@ -70,3 +74,10 @@ jobs:
- name: Run backend tests - name: Run backend tests
run: | run: |
bundle exec rspec --profile=10 --format documentation bundle exec rspec --profile=10 --format documentation
- name: Upload rails log folder
uses: actions/upload-artifact@v3
if: always()
with:
name: rails-log-folder
path: log