Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/workflows/pr_comment.yml

This file was deleted.

21 changes: 3 additions & 18 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Lint, Test, and Build

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]

Expand All @@ -24,21 +27,6 @@ jobs:
args: --fix-only --exit-non-zero-on-fix
continue-on-error: true

- name: Determine Ruff Fix Outcome
run: |
if [ ${{ steps.ruff_fix.outcome }} == 'failure' ]; then
echo "RUFF_FAILED=true" >> $GITHUB_ENV
echo ${{ steps.ruff_fix.outcome }} > ruff_fix_outcome.txt
else
echo "RUFF_FAILED=false" >> $GITHUB_ENV
echo ${{ steps.ruff_fix.outcome }} > ruff_fix_outcome.txt
fi

- uses: actions/upload-artifact@v2
with:
name: ruff-fix-outcome
path: ruff_fix_outcome.txt

- name: Fail Workflow if Ruff Fix Failed
if: steps.ruff_fix.outcome == 'failure'
run: |
Expand All @@ -52,7 +40,6 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- name: Load cached Poetry installation
Expand Down Expand Up @@ -84,7 +71,6 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- name: Load cached Poetry installation
Expand Down Expand Up @@ -116,7 +102,6 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- name: Load cached Poetry installation
Expand Down