Skip to content

ci

ci #101

Workflow file for this run

name: "nightly"
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
acceptance:
name: "acceptance"
runs-on: windows-latest
env:
PUPPET_GEM_VERSION: '~> 8.0'
steps:
- name: "checkout"
uses: "actions/checkout@v4"
- name: "export environment"
run: |
echo "PUPPET_VERSION='~> 8.0'" >> $GITHUB_ENV
echo "PUPPET_GEM_VERSION=${{ env.PUPPET_GEM_VERSION }}" >> $GITHUB_ENV
- name: "setup ruby"
uses: "ruby/setup-ruby@v1"
with:
ruby-version: 3.2
bundler-cache: true
- name: "bundle environment"
run: |
echo ::group::bundler environment
bundle env
echo ::endgroup::
- name: Start SSH session
uses: luchihoratiu/debug-via-ssh@main
with:
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
SSH_PASS: ${{ secrets.SSH_PASS }}
- name: "execute acceptance tests"
run: |
# This generic task to run acceptance tests.
# It should be overridden in the Rakefile.
bundle exec rake gem_revendor acceptance_languageserver