From 14d63d6f5dff610ffdb979410a9300f0dc09605b Mon Sep 17 00:00:00 2001 From: Tyler Gregg Date: Fri, 7 Jun 2024 15:40:40 -0700 Subject: [PATCH] Updates ion-tests directory name for Ion 1.0 --- .github/workflows/main.yml | 6 +++--- amazon/iontest/ion_test_driver.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62ee189..b4766cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,12 +13,12 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python }} - name: Create a virtual environment - run: python3 -m venv ./venv && . venv/bin/activate + run: python -m venv ./venv && . venv/bin/activate - run: pip install --upgrade setuptools - run: pip install --use-pep517 -r requirements.txt diff --git a/amazon/iontest/ion_test_driver.py b/amazon/iontest/ion_test_driver.py index dd76b8c..1ac25fd 100755 --- a/amazon/iontest/ion_test_driver.py +++ b/amazon/iontest/ion_test_driver.py @@ -376,7 +376,7 @@ def test_type_from_str(name): def test_dir_from_version(version): if "1.0" == version: - return "iontestdata_1_0" + return "iontestdata" elif "1.1" == version: return "iontestdata_1_1" raise ValueError("Unknown Ion version: %s" % version)