From 3c952316603ebc05d4be69900339f5a68f855462 Mon Sep 17 00:00:00 2001 From: azriel1rf Date: Fri, 3 May 2024 03:58:13 +0900 Subject: [PATCH] Refactor GitHub Actions configurations. --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 430bd8e..cbb4375 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: name: C++ Standard Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run before script timeout-minutes: 10 run: | @@ -74,7 +74,7 @@ jobs: name: C++ Benchmark runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Run before script timeout-minutes: 10 run: | @@ -87,11 +87,15 @@ jobs: ./benchmark_phevaluator python-test: - name: Python test + name: Python - Run unit tests runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: + - "3.8" + - "3.9" + - "3.10" + - "3.11" steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -142,7 +146,3 @@ jobs: run: | cd python pip install . - - name: Run script - run: | - cd python - python -m unittest discover -v