Skip to content

Commit 4a50113

Browse files
committed
Fix CI
1 parent b94b80a commit 4a50113

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: tests
22

3-
on: push
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- master
48

59
jobs:
610
build:
@@ -40,10 +44,12 @@ jobs:
4044
CONAN_CURRENT_PAGE: ${{ matrix.conan-current-page }}
4145
steps:
4246
- uses: actions/checkout@v2
43-
- uses: actions/setup-python@v1
47+
- uses: actions/setup-python@v5
48+
with:
49+
python-version: "3.10"
4450

4551
- name: Install dependencies
46-
run: python -m pip install -U conan conan_package_tools
52+
run: python -m pip install -U "conan<2" conan_package_tools
4753

4854
- name: Install Ubuntu compilers
4955
if: matrix.os == 'ubuntu-22.04'

0 commit comments

Comments
 (0)