Skip to content

Commit

Permalink
add workflow call, reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo committed Dec 18, 2023
1 parent 7aa8749 commit 850fdec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Run tests and linting
name: Dev (formatting, tests, dev docs)
name: Dev (formatting, tests, test build docs)

# Controls when the action will run.
on:
Expand All @@ -8,9 +8,10 @@ on:
branches: [main]
pull_request:
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allows other workflows to trigger this workflow
workflow_call:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -35,8 +36,10 @@ jobs:
with:
python-version: ${{ matrix.python-versions }}

# - name: Install Poetry
# uses: snok/install-poetry@v1
- name: Install Poetry
uses: snok/install-poetry@v1
uses: abatilo/actions-poetry@v2

- name: Install dependencies
run: poetry install --with dev
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Daily reporting
on:
schedule:
- cron: "8 16 * * *" # 8:08am PST
jobs:
build:
uses: ./.github/workflows/dev.yml

0 comments on commit 850fdec

Please sign in to comment.