-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
129 additions
and
57 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Auto-generated by Cimas: Do not edit it manually! | ||
# See https://github.com/metanorma/cimas | ||
name: macos | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
|
||
jobs: | ||
test-macos: | ||
name: Test on Ruby ${{ matrix.ruby }} macOS | ||
runs-on: macos-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ '2.6', '2.5', '2.4' ] | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Use Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
architecture: 'x64' | ||
- name: Update gems | ||
run: | | ||
sudo gem install bundler --force | ||
bundle install --jobs 4 --retry 3 | ||
- name: Use Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '8' | ||
- name: Install Puppeteer | ||
run: | | ||
npm install -g puppeteer | ||
- name: Run specs | ||
run: | | ||
bundle exec rake |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Auto-generated by Cimas: Do not edit it manually! | ||
# See https://github.com/metanorma/cimas | ||
name: ubuntu | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
|
||
jobs: | ||
test-linux: | ||
name: Test on Ruby ${{ matrix.ruby }} Ubuntu | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ '2.6', '2.5', '2.4' ] | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Use Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
architecture: 'x64' | ||
- name: Update gems | ||
run: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
- name: Use Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '8' | ||
- name: Install Puppeteer | ||
run: | | ||
npm install -g puppeteer | ||
- name: Run specs | ||
run: | | ||
bundle exec rake | ||
- name: Trigger dependent repositories | ||
if: github.ref == 'refs/heads/master' | ||
env: | ||
GH_USERNAME: ${{ secrets.PAT_USERNAME }} | ||
GH_ACCESS_TOKEN: ${{ secrets.PAT_TOKEN }} | ||
run: | | ||
curl -LO --retry 3 https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/trigger-gh-actions.sh | ||
[[ -f ".github/workflows/dependent_repos.env" ]] && source .github/workflows/dependent_repos.env | ||
for repo in $DEPENDENT_REPOS | ||
do | ||
sh trigger-gh-actions.sh $ORGANISATION $repo $GH_USERNAME $GH_ACCESS_TOKEN $GITHUB_REPOSITORY | ||
done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Auto-generated by Cimas: Do not edit it manually! | ||
# See https://github.com/metanorma/cimas | ||
name: windows | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
|
||
jobs: | ||
test-windows: | ||
name: Test on Ruby ${{ matrix.ruby }} Windows | ||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ '2.6', '2.5', '2.4' ] | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Use Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
architecture: 'x64' | ||
- name: Update gems | ||
shell: pwsh | ||
run: | | ||
gem install bundler | ||
bundle config --local path vendor/bundle | ||
bundle update | ||
bundle install --jobs 4 --retry 3 | ||
- name: Use Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '8' | ||
- name: Install Puppeteer | ||
run: | | ||
npm install -g puppeteer | ||
- name: Run specs | ||
run: | | ||
bundle exec rake |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.