thunnai commited on
Commit
e118d8c
·
1 Parent(s): 807d1d8

run workflows on all branches to test

Browse files
.github/workflows/pre-commit.yaml CHANGED
@@ -2,7 +2,8 @@ name: Pre-commit
2
  on:
3
  pull_request:
4
  push:
5
- branches: [main]
 
6
  jobs:
7
  pre-commit:
8
  runs-on: ubuntu-latest
 
2
  on:
3
  pull_request:
4
  push:
5
+ branches:
6
+ - "*"
7
  jobs:
8
  pre-commit:
9
  runs-on: ubuntu-latest
.github/workflows/run-pytest.yaml CHANGED
@@ -1,24 +1,20 @@
1
  name: PyTest
2
-
3
  on:
4
  push:
5
- branches: [main]
 
6
  pull_request:
7
- branches: [main]
8
-
9
  jobs:
10
  run-pytest:
11
  name: python
12
  runs-on: ubuntu-latest
13
-
14
  steps:
15
  - uses: actions/checkout@v4
16
-
17
  - name: Install uv
18
  uses: astral-sh/setup-uv@v5
19
-
20
  - name: Install the project
21
  run: uv sync --all-extras --dev
22
-
23
  - name: Run tests
24
  run: uv run pytest test/
 
1
  name: PyTest
 
2
  on:
3
  push:
4
+ branches:
5
+ - "*" # TODO: run on all for now (move to main later)
6
  pull_request:
7
+ branches:
8
+ - "*"
9
  jobs:
10
  run-pytest:
11
  name: python
12
  runs-on: ubuntu-latest
 
13
  steps:
14
  - uses: actions/checkout@v4
 
15
  - name: Install uv
16
  uses: astral-sh/setup-uv@v5
 
17
  - name: Install the project
18
  run: uv sync --all-extras --dev
 
19
  - name: Run tests
20
  run: uv run pytest test/