From 1626f2a3e7e8d22f9609cd9b65812248c6c9999f Mon Sep 17 00:00:00 2001 From: udon-universe <128375799+udon-universe@users.noreply.github.com> Date: Fri, 12 May 2023 02:10:24 +0900 Subject: [PATCH 1/3] add github workflow for ci --- .github/workflow/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflow/ci.yml diff --git a/.github/workflow/ci.yml b/.github/workflow/ci.yml new file mode 100644 index 0000000..f8e682e --- /dev/null +++ b/.github/workflow/ci.yml @@ -0,0 +1,26 @@ +name: minimum compile error check + +on: + - push + - pull_request + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Check base compile error + run: | + ls *.py | xargs python -m py_compile + - name: Check scripts compile error + run: | + ls scripts/*.py | xargs python -m py_compile From a3bee50c3a33d5dd16d67f4944882a409a889c68 Mon Sep 17 00:00:00 2001 From: udon-universe <128375799+udon-universe@users.noreply.github.com> Date: Fri, 12 May 2023 02:12:04 +0900 Subject: [PATCH 2/3] fix dir --- .github/{workflow => workflows}/ci.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{workflow => workflows}/ci.yml (100%) diff --git a/.github/workflow/ci.yml b/.github/workflows/ci.yml similarity index 100% rename from .github/workflow/ci.yml rename to .github/workflows/ci.yml From 8cc45a0d124c10c7069a9e07402ebbcb6fc196c2 Mon Sep 17 00:00:00 2001 From: udon-universe <128375799+udon-universe@users.noreply.github.com> Date: Fri, 12 May 2023 02:16:03 +0900 Subject: [PATCH 3/3] update name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8e682e..325b14a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: minimum compile error check +name: compile error check on: - push