Extract out Xvfb to class #26
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: | |
workflow_dispatch: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
name: ${{ matrix.os }} ${{ matrix.joblabel }} | |
runs-on: ${{ matrix.os }} | |
env: | |
ORBITAL_COVERAGE: ${{ matrix.coverage }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
coverage: [''] | |
include: | |
- os: 'ubuntu-latest' | |
coverage: coveralls | |
joblabel: '(Coverage)' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Orbital | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-orbital | |
with: | |
path: | | |
~/.orbital/extlib | |
~/.orbital/_orbital/author-local | |
~/.orbital/local | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.coverage }}-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.coverage }}- | |
- name: Set up Orbital Transfer | |
shell: bash | |
run: | | |
eval "$(curl https://raw.githubusercontent.com/orbital-transfer/launch-site/master/script/ci/github-actions-orbital.sh)" | |
- name: Use Orbital Transfer | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
perl -S orbitalism bootstrap auto | |
perl -S orbitalism | |
perl -S orbitalism test |