From ffb7fa1ce18428f0048d5eec9843c83187fcad90 Mon Sep 17 00:00:00 2001 From: Alex Marvin Date: Tue, 28 Feb 2023 23:03:10 -0500 Subject: [PATCH 1/5] Updates GitHub Actions setup-python --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 540f297..260014a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,8 +5,8 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.7' architecture: x64 From a8571fc56b5f3b48837d3b8fc6038d3abd6829ef Mon Sep 17 00:00:00 2001 From: Alex Marvin Date: Wed, 1 Mar 2023 23:10:09 -0500 Subject: [PATCH 2/5] Run tests on PRs and pushes to master --- .github/workflows/tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 260014a..9042650 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,10 @@ # .github/workflows/tests.yml name: Tests -on: push +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] jobs: tests: runs-on: ubuntu-latest From 12b80b9eefcf070eac0044a641a011ca4aa97e5c Mon Sep 17 00:00:00 2001 From: Alex Marvin Date: Wed, 1 Mar 2023 23:12:56 -0500 Subject: [PATCH 3/5] Fixes pip update syntax --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9042650..49ea26f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: with: python-version: '3.7' architecture: x64 - - run: /opt/hostedtoolcache/Python/3.7.9/x64/bin/python -m pip install --upgrade pip + - run: python -m pip install --upgrade pip - run: pip install nox==2020.8.22 - run: pip install poetry==1.1.4 - run: pip install nox-poetry==0.6.0 From 55ea3e0d863809b705d8079c2128abce4e911159 Mon Sep 17 00:00:00 2001 From: Alex Marvin Date: Thu, 2 Mar 2023 14:51:30 -0500 Subject: [PATCH 4/5] Fixes poetry --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 49ea26f..e8ccdc7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,6 @@ jobs: architecture: x64 - run: python -m pip install --upgrade pip - run: pip install nox==2020.8.22 - - run: pip install poetry==1.1.4 + - run: pip install poetry==1.1.15 - run: pip install nox-poetry==0.6.0 - run: nox From 6ba4e904c4fe04260313d034d27ecc2dc4520a22 Mon Sep 17 00:00:00 2001 From: Alex Marvin Date: Thu, 2 Mar 2023 21:24:08 -0500 Subject: [PATCH 5/5] Updates nox-poetry to fix pip hash constraint error --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e8ccdc7..ca9f7d0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,5 +17,5 @@ jobs: - run: python -m pip install --upgrade pip - run: pip install nox==2020.8.22 - run: pip install poetry==1.1.15 - - run: pip install nox-poetry==0.6.0 + - run: pip install nox-poetry==0.7.0 - run: nox