Skip to content

Commit

Permalink
Changes runner version to ubuntu 20.04
Browse files Browse the repository at this point in the history
so tests can be run on 3.6
Replaces pycrypto with pycryptodome, should have the same api
and has wheels for recent python versions
  • Loading branch information
dmunozv04 committed Nov 3, 2023
1 parent da8c083 commit bf809d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

js-unit-tests:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04 #Allows to run 3.6 tests (https://github.com/actions/setup-python/issues/544)

steps:
- uses: actions/checkout@v2
Expand All @@ -38,7 +38,7 @@ jobs:

build:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04 #Allows to run 3.6 tests (https://github.com/actions/setup-python/issues/544)

steps:
- uses: actions/checkout@v2
Expand All @@ -56,7 +56,7 @@ jobs:

django-unit-tests:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04 #Allows to run 3.6 tests (https://github.com/actions/setup-python/issues/544)

strategy:
matrix:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:

django-search-indexes-tests:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04 #Allows to run 3.6 tests (https://github.com/actions/setup-python/issues/544)

strategy:
matrix:
Expand Down Expand Up @@ -164,8 +164,8 @@ jobs:

django-selenium-tests:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04 #Allows to run 3.6 tests (https://github.com/actions/setup-python/issues/544)

steps:
- name: Setup PostgreSQL
run: |
Expand Down Expand Up @@ -209,9 +209,9 @@ jobs:
- django-search-indexes-tests
- django-selenium-tests
- js-unit-tests

runs-on: ubuntu-latest

steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
Expand Down
2 changes: 1 addition & 1 deletion src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ regex
markdown
django-haystack>=2.8.0,<2.9.0
whoosh>=2.7.2
pycrypto
pycryptodome
pyScss>=1.3.4,<2.0
Pygments
pillow
Expand Down

0 comments on commit bf809d1

Please sign in to comment.