Skip to content

Commit

Permalink
testing new push action
Browse files Browse the repository at this point in the history
  • Loading branch information
jtisbell4 committed Apr 24, 2024
1 parent 3a5b4a2 commit 96db776
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test.yml → .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ on:
pull_request:
types: [opened, synchronize]
push:
branches: ['master']
workflow_dispatch:
branches: ['*']
workflow_dispatch:

env:
OS: ubuntu-latest

jobs:
lint-and-check:
runs-on: ubuntu-latest
runs-on: ${{ env.OS }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -31,7 +34,7 @@ jobs:
run: tox -e type-check

analyze:
runs-on: ubuntu-latest
runs-on: "${{ env.OS }}"
permissions:
actions: read
contents: read
Expand Down Expand Up @@ -71,7 +74,7 @@ jobs:

test:
needs: lint-and-check
runs-on: ubuntu-latest
runs-on: "${{ env.OS }}"
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
Expand All @@ -92,7 +95,7 @@ jobs:
working-directory: ./python
run: tox
- name: Publish test coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./python/coverage.xml

0 comments on commit 96db776

Please sign in to comment.