Skip to content

Commit c5314ae

Browse files
author
Alvaro Muñoz
committed
Add new tests
1 parent 397eb2a commit c5314ae

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test
2+
3+
on:
4+
issue_comment:
5+
6+
permissions:
7+
actions: write
8+
9+
jobs:
10+
generate-results:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Python 3.10
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.10"
18+
- name: Cache pip dependencies
19+
uses: actions/cache@v4
20+
id: cache-pip
21+
with:
22+
path: ~/.cache/pip
23+
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
24+
restore-keys: ${{ runner.os }}-pip-
25+
- name: Download artifact
26+
uses: actions/download-artifact@v4
27+
with:
28+
name: results
29+
path: results/
30+
- name: Upload results
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: results
34+
path: results/
35+
if-no-files-found: ignore
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test
2+
3+
on:
4+
issue_comment:
5+
6+
permissions:
7+
actions: write
8+
9+
jobs:
10+
generate-results:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Set up Python 3.10
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.10"
18+
- name: Cache pip dependencies
19+
uses: actions/cache@v4
20+
id: cache-pip
21+
with:
22+
path: ./results/pip
23+
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
24+
restore-keys: ${{ runner.os }}-pip-
25+
- name: Download artifact
26+
uses: actions/download-artifact@v4
27+
with:
28+
name: results
29+
path: results/
30+
- name: Upload results
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: results
34+
path: results/
35+
if-no-files-found: ignore

0 commit comments

Comments
 (0)