Skip to content

Commit 5a4dc9c

Browse files
authored
rename (#143)
* rename * another rename * rename
1 parent 5bd9047 commit 5a4dc9c

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

.github/workflows/programming_team_code_ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
git submodule init
2525
git submodule update
2626
rm -rf hackpack-cpp/tests/
27-
- name: Run tests
27+
- name: Run library checker and aizu tests
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
run: oj-verify all --tle 60 --timeout 21600
@@ -40,7 +40,7 @@ jobs:
4040
wget -O - https://apt.llvm.org/llvm.sh | sudo bash
4141
- name: Install dependencies
4242
run: sudo apt update && sudo apt install -y clang-format-19 cppcheck
43-
- name: checks format then lints
43+
- name: grep, clang-format, cppcheck
4444
run: make --directory=tests/ grep_clangformat_cppcheck
4545

4646
clangtidy:
@@ -61,7 +61,7 @@ jobs:
6161
runs-on: ubuntu-latest
6262
steps:
6363
- uses: actions/checkout@v2
64-
- name: Compile all tests
64+
- name: g++ with gcc
6565
run: make --directory=tests/ compile_gcc
6666

6767
compile_clang:
@@ -72,17 +72,17 @@ jobs:
7272
run: wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 19
7373
- name: Install dependencies
7474
run: sudo apt update && sudo apt install -y clang-19
75-
- name: Compile all tests
75+
- name: g++ with clang
7676
run: make --directory=tests/ compile_clang
7777

78-
files_without_tests:
78+
find_files_without_tests:
7979
runs-on: ubuntu-latest
8080
steps:
8181
- uses: actions/checkout@v2
82-
- name: files without tests
83-
run: make --directory=tests/ files_without_tests
82+
- name: find files without tests
83+
run: make --directory=tests/ find_files_without_tests
8484

85-
build_ptc:
85+
build_pdf:
8686
runs-on: ubuntu-latest
8787
steps:
8888
- uses: actions/checkout@v2
@@ -92,16 +92,16 @@ jobs:
9292
sudo apt install texlive texlive-latex-extra rename nodejs npm
9393
wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 19
9494
sudo apt update && sudo apt install -y clang-19
95-
- name: build ptc
96-
run: make --directory=tests/ ptc
95+
- name: build pdf
96+
run: make --directory=tests/ build_pdf
9797
- uses: actions/upload-artifact@v4
9898
with:
9999
name: ptc
100100
path: tests/ptc.pdf
101101

102102
publish_ptc:
103103
runs-on: ubuntu-latest
104-
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, files_without_tests, build_ptc]
104+
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests, build_pdf]
105105
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
106106
steps:
107107
- uses: actions/checkout@v2
@@ -119,7 +119,7 @@ jobs:
119119

120120
update_main:
121121
runs-on: ubuntu-latest
122-
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, files_without_tests]
122+
needs: [library_checker_aizu, grep_clangformat_cppcheck, clangtidy, compile_gcc, compile_clang, find_files_without_tests]
123123
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'
124124
steps:
125125
- uses: actions/checkout@v2
@@ -147,5 +147,5 @@ jobs:
147147
- uses: actions/checkout@v2
148148
- name: Install dependencies
149149
run: sudo apt install shfmt shellcheck
150-
- name: shellcheck and shfmt
150+
- name: shellcheck, shfmt
151151
run: make --directory=tests/ shellcheck_shfmt

tests/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ help:
1313
@echo " |"
1414
@echo "make clangtidy | runs clang-tidy (mainly to verify snake_case)"
1515
@echo " |"
16-
@echo "make ptc | build ptc.pdf from .tex file"
16+
@echo "make build_pdf | build build_pdf.pdf from .tex file"
1717
@echo " |"
1818
@echo "make shellcheck_shfmt | runs shellcheck and shfmt"
1919
@echo " |"
2020
@echo "make update_main | 1) copies included files into file"
2121
@echo " | 2) force pushes to main branch"
2222
@echo " |"
23-
@echo "make files_without_tests | print list of all .hpp files included by *no* .test.cpp files"
23+
@echo "make find_files_without_tests | print list of all .hpp files included by *no* .test.cpp files"
2424
@echo " | - these files are not compiled nor linted as part of ci"
2525
@echo " |"
2626
@echo "make print_which_tests_havent_run | mainly to check if all tests have run"
@@ -40,11 +40,11 @@ do_format:
4040
clangtidy:
4141
./scripts/clangtidy.sh
4242

43-
files_without_tests:
44-
./scripts/files_without_tests.sh
43+
find_files_without_tests:
44+
./scripts/find_files_without_tests.sh
4545

46-
ptc:
47-
./scripts/ptc.sh
46+
build_pdf:
47+
./scripts/build_pdf.sh
4848

4949
shellcheck_shfmt:
5050
./scripts/shellcheck_shfmt.sh

0 commit comments

Comments
 (0)