Skip to content
Draft
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
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build
on:
pull_request:
schedule:
- cron: "0 0 * * 0"

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python: ["3.12"]
include:
- python: "3.12"
tox_env: "py312-web"
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: |
python -m pip install --upgrade pip setuptools
pip install tox
- name: Test
shell: bash
run: |
tox -e ${{ matrix.tox_env }} -- pytest -svv -k test_fastapi

1 change: 1 addition & 0 deletions _appmap/test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def __init__(self, info: ServerInfo, controldir, xprocess):
# In the meantime, pass the desired directory to server_runner, which
# will handle changing the working directory.
self._args = [
"bash",
(Path(__file__).parent / "bin" / "server_runner").as_posix(),
(Path(__file__).parent / "data" / info.name).as_posix(),
f"{Path(sys.executable).as_posix()} {info.cmd}",
Expand Down