ci: Update #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
env: | |
CC_TEST_REPORTER_ID: 7729fca8695dd1ce5c6117fcd57680ee5a00726647ae7d4fe52c029de211449f | |
COVERAGE_REPORT: true | |
BUNDLE_GEMS__RAILSLTS__COM: ${{ secrets.BUNDLE_GEMS__RAILSLTS__COM }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ubuntu:precise | |
steps: | |
# FIXME: v2-v4 Checkout Actions won't work on Ubuntu Precise (see https://github.com/actions/checkout/issues/1487) | |
- uses: actions/checkout@v1 | |
- run: |- | |
sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list | |
sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list | |
apt-get update | |
apt-get install -y curl libmysqlclient-dev | |
- run: |- | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | |
source "$NVM_DIR/nvm.sh" | |
nvm install 11.14.0 | |
node --version | |
# - uses: actions/[email protected] | |
# with: | |
# node-version: 11.14.0 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- run: cp config/database.travis.yml config/database.yml | |
- run: cp config/app_environment_variables.sample.rb config/app_environment_variables.rb |