From 1823091379760282dc67551b6370ab52fc7d4926 Mon Sep 17 00:00:00 2001 From: snowy Date: Wed, 28 Aug 2024 04:26:08 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E6=B5=8B=E8=AF=95=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pytest.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 11aa958..a20d85c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -5,19 +5,17 @@ on: branches: - main -permissions: - contents: write - jobs: RunTest: + name: Run pytest runs-on: ubuntu-latest - steps: - - name: Run pytest - uses: pavelzw/pytest-action@v2 - with: - verbose: true - emoji: true - job-summary: true - custom-arguments: '-q' - click-to-expand: true - report-title: 'Test Report' \ No newline at end of file + permissions: + contents: read + uses: pavelzw/pytest-action@v2 + with: + verbose: true + emoji: true + job-summary: true + custom-arguments: '-q' + click-to-expand: true + report-title: 'Test Report' \ No newline at end of file