Skip to content

Commit

Permalink
Merge pull request #1156 from ceddy4395/fix-gha-smells
Browse files Browse the repository at this point in the history
Fix potential github action smells
  • Loading branch information
ATheorell authored May 29, 2024
2 parents 6698656 + 2c5c1a8 commit 5f9d7ac
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ name: Tox pytest all python versions
on:
push:
branches: [ main ]
paths:
- gpt_engineer/**
- tests/**
pull_request:
branches: [ main ]

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true

jobs:
test:
permissions: {}
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -23,7 +31,7 @@ jobs:
cache: 'pip' #Note that pip is for the tox level. Poetry is still used for installing the specific environments (tox.ini)

- name: Install tox
run: pip install tox
run: pip install tox==4.15.0

- name: Run tox
env:
Expand Down

0 comments on commit 5f9d7ac

Please sign in to comment.