From 8b9ffcdf37c3c77427d6d7f0d9873e313b9482dc Mon Sep 17 00:00:00 2001 From: Toru Seo <34780089+toruseo@users.noreply.github.com> Date: Sat, 20 Jul 2024 16:09:11 +0900 Subject: [PATCH] Create test-pip.yml --- .github/workflows/test-pip.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test-pip.yml diff --git a/.github/workflows/test-pip.yml b/.github/workflows/test-pip.yml new file mode 100644 index 0000000..ddbfc50 --- /dev/null +++ b/.github/workflows/test-pip.yml @@ -0,0 +1,25 @@ +name: Test pip + +on: + release: + types: [published] + schedule: + - cron: '0 6 * * 1' + +jobs: + test-pip: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 + with: + python-version: "3.12" + - name: Install uxsim and dependencies + run: | + python -m pip install --upgrade pip + pip install . + - name: Install pytest other dependencies + run: pip install usxim + - name: Run tests with pytest + run: pytest -n auto tests/test_verification_sioux_falls.py --durations=0 -v