File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,30 +4,14 @@ on: [push, pull_request]
44jobs :
55 generate_data :
66 runs-on : ubuntu-latest
7- name : Generate version data
7+ name : Run action on test file in repo
88 steps :
99 - name : Checkout
1010 uses : actions/checkout@v5
1111 - name : Generate version data using local action
1212 uses : ./
13- - name : Check file contents
14- run : |
15- printf "Contents of chart.md:\n"
16- cat chart.md
17- printf "\n\n"
18- printf "Contents of schedule.json:\n"
19- cat schedule.json
20- printf "\n\n"
21- printf "Contents of schedule.md:\n"
22- cat schedule.md
23- printf "\n\n"
24- - name : Remove generated files
25- run : |
26- printf "Removing generated files...\n"
27- rm -f chart.md schedule.json schedule.md
28- ls -R
29- - uses : actions/download-artifact@v5
30- with :
31- name : spec-zero-versions
32- - name : Display structure of downloaded files
33- run : ls -R
13+ with :
14+ project_file_name : tests/test_data/pyproject.toml
15+ create_pr : false
16+ schedule_path : tests/test_data/test_schedule.json
17+
Original file line number Diff line number Diff line change 1+ name : Run the update test suite
2+ on :
3+ push :
4+ branches : main
5+ pull_request :
6+ branches : main
7+ # On demand
8+ workflow_dispatch :
9+
10+ jobs :
11+ run-tests :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v5
16+
17+ - uses : prefix-dev/setup-pixi@v0.9.0
18+ with :
19+ pixi-version : " v0.49.0"
20+ - run : |
21+ pixi run test
You can’t perform that action at this time.
0 commit comments