Skip to content

Commit

Permalink
Merge pull request #266 from eclecticiq/update-gh-actions
Browse files Browse the repository at this point in the history
Fix broken 3.8 SQLite test pipeline
  • Loading branch information
eric-eclecticiq authored Dec 21, 2023
2 parents fa6d9cb + 3481939 commit 855bb45
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: TrueBrain/actions-flake8@v2
6 changes: 3 additions & 3 deletions .github/workflows/interrogate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout head branch
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: head
- name: Checkout base branch
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
path: base
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install interrogate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
name: Build and publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install pypa/build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install lxml dependencies
Expand All @@ -67,4 +67,4 @@ jobs:
sleep 1
done
- name: Test with tox
run: tox
run: tox --recreate
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ def truncate_app(dbconn):
app = create_app(context.server)
app.config["TESTING"] = True
yield app
taxiiserver.servers.taxii1.persistence.api.db.engine.dispose()
taxiiserver.servers.taxii2.persistence.api.db.engine.dispose()


@pytest.fixture()
Expand Down

0 comments on commit 855bb45

Please sign in to comment.