From fdb0a0d6b441e304efa685999944e3a2b06bd1f2 Mon Sep 17 00:00:00 2001 From: Valentine Date: Sat, 9 Mar 2024 04:43:10 +0300 Subject: [PATCH] run all tests in workflow --- .github/workflows/go.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 197f580..2fca279 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,23 +3,21 @@ on: push: pull_request: schedule: - - cron: '0 5 * * *' + - cron: "0 5 * * *" jobs: - test: name: Test runs-on: ubuntu-latest steps: + - name: Set up Go 1.16 + uses: actions/setup-go@v3 + with: + go-version: 1.16 + id: go - - name: Set up Go 1.16 - uses: actions/setup-go@v3 - with: - go-version: 1.16 - id: go + - name: Check out code into the Go module directory + uses: actions/checkout@v3 - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - - - name: Test - run: go test -v -run '^(TestGetGuestToken|TestLoginOpenAccount|TestGetProfile|TestGetProfilePrivate|TestGetProfileErrorSuspended|TestGetProfileErrorNotFound|TestGetUserIDByScreenName|TestGetTweets)$' + - name: Test + run: go test -v