From 1735b8de4f3145098b09931cf3303c72ada91760 Mon Sep 17 00:00:00 2001 From: JT Turner Date: Sun, 31 Jul 2022 01:03:29 -0700 Subject: [PATCH] Fix github actions. --- .github/workflows/test.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f9a2548..6c5792b 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,17 +1,9 @@ name: test - -# Run this workflow every time a new commit pushed to your repository on: push - jobs: - # Set the job key. The key is displayed as the job name - # when a job name is not provided - test-api: - # Name the Job + lint-test: name: Lint and Test API - # Set the type of machine to run on runs-on: ubuntu-latest - steps: - name: Checkout code uses: actions/checkout@v3 @@ -38,7 +30,7 @@ jobs: path-to-lcov: ./coverage/lcov.info docker: name: Build Docker Images - needs: finish-coverage + needs: lint-test if: success() && github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: