Skip to content

Commit 6b8bc90

Browse files
committed
Updated GitHub actions
1 parent 7e785b1 commit 6b8bc90

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
environment: release
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:

.github/workflows/test.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
sqlalchemy-version: ["1.4", "2.0"]
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Set up Python ${{ matrix.python-version }}
1919
uses: actions/setup-python@v4
2020
with:
@@ -31,22 +31,16 @@ jobs:
3131
- name: Test with pytest
3232
run: coverage run -m pytest
3333
- name: Upload Coverage
34-
run: coveralls --service=github
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
COVERALLS_FLAG_NAME: ${{ matrix.test-name }}
38-
COVERALLS_PARALLEL: true
39-
SQLALCHEMY_WARN_20: "true"
34+
uses: coverallsapp/github-action@v2
35+
with:
36+
parallel: true
4037

4138
coveralls:
4239
name: Finish Coveralls
43-
needs: [test]
40+
needs: test
4441
runs-on: ubuntu-latest
45-
container: python:3-slim
4642
steps:
4743
- name: Finished
48-
run: |
49-
pip install coveralls
50-
coveralls --service=github --finish
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
uses: coverallsapp/github-action@v2
45+
with:
46+
parallel-finished: true

0 commit comments

Comments
 (0)