From 9770dde9d17dec177c63d1beef06fc029333a8ef Mon Sep 17 00:00:00 2001 From: Matt Dixon Date: Thu, 5 Dec 2024 16:24:48 -0500 Subject: [PATCH] Remove deprecated main.yml workflow and enhance python-tests-and-publish.yml with architecture specification and improved dependency installation steps --- .github/workflows/main.yml | 30 ------------------- .../workflows/python-tests-and-publish.yml | 3 ++ 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index f80e15e..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: CI - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - runs-on: self-hosted # This line specifies to use your self-hosted runner - - steps: - - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Run tests - run: | - python -m unittest discover tests - - # Add any other steps your workflow needs \ No newline at end of file diff --git a/.github/workflows/python-tests-and-publish.yml b/.github/workflows/python-tests-and-publish.yml index 4569a74..f35addd 100644 --- a/.github/workflows/python-tests-and-publish.yml +++ b/.github/workflows/python-tests-and-publish.yml @@ -14,6 +14,7 @@ jobs: strategy: matrix: python-version: [3.7, 3.8, 3.9] + steps: - uses: actions/checkout@v2 @@ -22,6 +23,7 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + architecture: 'x64' - name: Install system dependencies run: | @@ -61,6 +63,7 @@ jobs: uses: actions/setup-python@v2 with: python-version: '3.9' + architecture: 'x64' - name: Install dependencies run: |