-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (52 loc) · 1.79 KB
/
test.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
49
50
51
52
53
54
55
56
57
58
59
60
---
name: Test
"on":
workflow_call:
inputs:
continue-on-error:
type: boolean
description: Allow a workflow run to pass when this workflow fails
required: false
default: false
jobs:
test:
name: Test
runs-on: macos-12
continue-on-error: ${{ inputs.continue-on-error }}
steps:
- name: Checkout
# yamllint disable-line rule:line-length
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup just
# yamllint disable-line rule:line-length
uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6 # v2.0.0
with:
# renovate: datasource=crate depName=just
just-version: 1.23.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Python
# yamllint disable-line rule:line-length
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
# renovate: datasource=docker depName=python versioning=docker
python-version: 3.12.1
cache: pip
- name: Install dependencies
run: just install-dependencies
- name: Cache Vagrant boxes
# yamllint disable-line rule:line-length
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: ~/.vagrant.d/boxes
key: "${{ runner.os }}-\
vagrant-\
${{ hashFiles('ansible/molecule/default/molecule.yml') }}"
restore-keys: ${{ runner.os }}-vagrant-
- name: Test
run: >
echo "Tests are temporarily disabled.
See:
- https://github.com/actions/runner-images/issues/8730
- https://github.com/actions/runner-images/issues/8642
"