Skip to content

Commit

Permalink
Test workflows (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
markwaddle authored Oct 1, 2024
1 parent d657b77 commit 6480046
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/workbench-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.ref != 'refs/heads/main' }}

steps:
- uses: actions/checkout@v4
Expand All @@ -41,7 +42,7 @@ jobs:
build-main:
runs-on: ubuntu-latest
if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' }}
environment:
name: production

Expand Down
4 changes: 2 additions & 2 deletions workbench-service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ filterwarnings = [
"ignore: Unclosed .MemoryObject(Send|Receive)Stream.:ResourceWarning",
# aiosqlite doesn't handle cancelations correctly
"ignore: Exception in thread Thread:pytest.PytestUnhandledThreadExceptionWarning",
# asyncpg sometimes fails to close sockets
# asyncpg sometimes fails to close sockets/transports/connections
"ignore: unclosed <socket.socket:ResourceWarning",
#asyncpg sometimes fails to close transport
"ignore: unclosed transport:ResourceWarning",
"ignore: unclosed connection <asyncpg.connection:ResourceWarning",
]

0 comments on commit 6480046

Please sign in to comment.