Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Aug 16, 2024
1 parent 1c8033c commit e39c9b1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ jobs:
name: 🔨 Build distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏗 Set up Python 3.11
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: '3.11'
- name: 🏗 Install build dependencies
run: |
python -m pip install -U wheel build setuptools --user
- name: 🔨 Build a binary wheel and a source tarball
run: |
python -m build --wheel
- name: ⬆ Upload build result
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand All @@ -49,11 +49,11 @@ jobs:
name: 🔨 Build dependencies and upload
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏗 Set up Python 3.11
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: 🏗 Install dependencies
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Get Latest Release
id: get-latest-release
run: |
Expand All @@ -103,7 +103,7 @@ jobs:
needs: [build, build-deps, fetch-pioreactorui-release]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Download release assets
run: |
curl -s https://api.github.com/repos/pioreactor/pioreactor/releases/tags/${{ github.event.release.tag_name }} | jq -r '.assets[].browser_download_url' > assets.txt
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
needs: build
steps:
- name: ⬇ Download build result
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand All @@ -161,7 +161,7 @@ jobs:
run: |
echo "PIOREACTOR_VERSION=$GITHUB_REF_NAME" >> $GITHUB_ENV
- name: 🚀 Repository Dispatch
uses: peter-evans/repository-dispatch@v1
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.REPODISPATCH_TOKEN }}
repository: Pioreactor/CustoPizer
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion pioreactor/tests/test_od_reading.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def test_determine_best_ir_led_intensity_values() -> None:
{"1": 0.05, "2": 0.02}, # on
{"1": 0.001, "2": 0.001}, # blank
)
== 85.0
== 80.0
)

assert (
Expand Down

0 comments on commit e39c9b1

Please sign in to comment.