diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c3c57692..1830b16d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install run: pip install -r requirements.txt diff --git a/.github/workflows/test.yml b/.github/workflows/tests.yml similarity index 86% rename from .github/workflows/test.yml rename to .github/workflows/tests.yml index a92ddc46..8d3e1cf9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/tests.yml @@ -1,9 +1,9 @@ -name: Test +name: Tests on: push: - # tags: - # - 'v*' + pull_request: + branches: [ master ] env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} @@ -11,8 +11,9 @@ env: jobs: test: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install run: pip install -r requirements.txt @@ -31,8 +32,9 @@ jobs: build: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install run: pip install -r requirements.txt