Skip to content

Commit

Permalink
Merge pull request #4 from opentargets/new-branch
Browse files Browse the repository at this point in the history
ci: changed ga workflow names
  • Loading branch information
project-defiant authored Aug 13, 2024
2 parents 70389bb + 75ec3da commit e8d9650
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Checks
name: Dev tests

on:
pull_request:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_pr.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: PR to trigger release
name: Trigger Release

"on":
schedule:
- cron: "10 20 * * 2"
- cron: "30 10 * * 2"

jobs:
pull-request:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Tag

"on":
push:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests

on:
pull_request:

env:
PYTHON_VERSION_DEFAULT: "3.10.8"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.10.8
- name: Install uv
uses: yezz123/setup-uv@v4
- name: Install rye
uses: eifinger/setup-rye@v4
with:
version: "latest"
- name: Sync dependencies
run: rye sync
- name: Run checks
run: rye run pre-commit run --all-files

0 comments on commit e8d9650

Please sign in to comment.