generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 28
40 lines (33 loc) · 956 Bytes
/
protocol-test.yml
File metadata and controls
40 lines (33 loc) · 956 Bytes
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
name: Protocol Tests
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
protocol-test:
runs-on: ubuntu-latest
name: RestJson1
steps:
- uses: actions/checkout@v4
- name: Set up Corretto 17 JDK
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
- name: Set up Python for protocol tests - 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Initialize Pants
uses: pantsbuild/actions/init-pants@main
with:
# v0 makes it easy to bust the cache if needed
# just increase the integer to start with a fresh cache
gha-cache-key: v0
named-caches-hash: ${{ hashFiles('python-default.lock') }}
pants-ci-config: pants.ci.toml
- name: Run protocol tests
run: make test-protocols