Skip to content

Commit

Permalink
Merge pull request #1053 from OneSignal/fix/cd-ci_python2_issue
Browse files Browse the repository at this point in the history
[CI/CD Fix] Builds missing python 2
  • Loading branch information
jkasten2 authored Jul 7, 2023
2 parents de03bc5 + 216f842 commit 4df9146
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:

jobs:
test_build_deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: python:2.7.18-buster

strategy:
matrix:
Expand All @@ -17,9 +19,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-python@v4
with:
python-version: '2.7'
- name: Install Yarn
run: npm install -g yarn
- name: "[Setup] Install dependencies"
run: yarn
- name: "[Test] Run all tests"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: python:2.7.18-buster

strategy:
matrix:
Expand All @@ -18,10 +20,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Use Python 2.7
uses: actions/setup-python@v4
with:
python-version: '2.7'
- name: Install Yarn
run: npm install -g yarn
- name: "[Setup] Install dependencies"
run: yarn
- name: "[Test] Run linters"
Expand Down

0 comments on commit 4df9146

Please sign in to comment.