ci #101
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: "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 | |