We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b1caf commit f4e1807Copy full SHA for f4e1807
1 file changed
.github/workflows/test.yml
@@ -1,6 +1,12 @@
1
name: Tests
2
3
-on: push
+on:
4
+ pull_request:
5
+ branches:
6
+ - '*'
7
+ push:
8
9
+ - 'master'
10
11
env:
12
POETRY_VERSION: "1.1.13"
@@ -36,8 +42,6 @@ jobs:
36
42
matrix:
37
43
py_version: [ "3.8", "3.9", "3.10" ]
38
44
os: [ ubuntu-22.04 ]
39
- env:
40
- BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
41
45
runs-on: "${{ matrix.os }}"
46
steps:
47
- uses: actions/checkout@v3
@@ -67,7 +71,7 @@ jobs:
67
71
fi
68
72
- name: Upload coverage reports to Codecov
69
73
uses: codecov/codecov-action@v3
70
- if: matrix.os == 'ubuntu-22.04' && matrix.py_version == '3.8' && env.BRANCH_NAME == 'master'
74
+ if: matrix.os == 'ubuntu-22.04' && matrix.py_version == '3.8'
75
with:
76
token: ${{ secrets.CODECOV_TOKEN }}
77
fail_ci_if_error: true
0 commit comments