Skip to content

Commit 4aa1c7b

Browse files
authored
Merge pull request #2970 from opentensor/feat/roman/ci.yml-to-gh-actions
Move all workflows from `app.circleci.com` to `GH actions`
2 parents 3509863 + ad517e7 commit 4aa1c7b

File tree

8 files changed

+200
-341
lines changed

8 files changed

+200
-341
lines changed

.circleci/check_pr_status.sh

Lines changed: 0 additions & 26 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 0 additions & 300 deletions
This file was deleted.

.github/workflows/auto-assign.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Changelog guard (for release of hotfix)
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- 'release/**'
10+
- 'Release/**'
11+
- 'hotfix/**'
12+
- 'Hotfix/**'
13+
14+
jobs:
15+
changelog:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: tj-actions/changed-files@v42
20+
id: changed
21+
- name: Ensure CHANGELOG.md updated
22+
if: contains(steps.changed.outputs.all_changed_files, 'CHANGELOG.md') == false
23+
uses: actions/github-script@v7
24+
with:
25+
script: core.setFailed('CHANGELOG.md must be updated.')
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Requirements compatibility for supported Python versions
2+
permissions:
3+
contents: read
4+
5+
on:
6+
pull_request:
7+
paths:
8+
- "pyproject.toml"
9+
10+
jobs:
11+
compatibility:
12+
if: github.event.pull_request.draft == false
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- run: |
26+
python -m pip install --upgrade pip
27+
python -m pip install ".[dev,cli]" --dry-run --no-deps

0 commit comments

Comments
 (0)