Skip to content

Commit

Permalink
support concurrency control for workflow (#99)
Browse files Browse the repository at this point in the history
* support agentprofile and environmentprofile serialization

* convert json to jsonl

* pass pre-commit test

* add missing attribute

* support other serialization

* precommit check

* support testing of serialization

* support testing of serialization

* support testing of serialization

* change the data path

* fix ruff

* support concurrency control

* support concurrency control
  • Loading branch information
lwaekfjlk authored Jun 14, 2024
1 parent 8268d5e commit ac05513
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
name: Deploy Next.js site to Pages


on:
# Runs on pushes targeting the default branch
push:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Mypy

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: pre-commit

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

name: Upload Python Package

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

on:
release:
types: [published]
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Pytest

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

on:
push:
branches:
Expand Down

0 comments on commit ac05513

Please sign in to comment.