-
Notifications
You must be signed in to change notification settings - Fork 21
49 lines (39 loc) · 1.14 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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