Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
refactor: update ci file
Browse files Browse the repository at this point in the history
  • Loading branch information
mashal-m committed Sep 27, 2023
1 parent ac9e6b4 commit 4fb7e85
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
python-version: ["3.8"]
os: [ubuntu-20.04]
toxenv: [django32]

node: [16]
env:
DATA_API_VERSION: "latest"
steps:
Expand All @@ -22,15 +22,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VER }}
- name: start container
run: docker-compose -f .github/docker-compose-github.yml up -d
- name: setup analytics-api
Expand All @@ -47,19 +41,12 @@ jobs:
env:
TESTNAME: quality
TARGETS: "quality"
- name: test python
run: ./.github/scripts/testing-js.sh
shell: bash
env:
TESTNAME: test-python
NODE: ${{ env.NODE_VER }}
TARGETS: "requirements.js test_python"
- name: test js
run: ./.github/scripts/testing-js.sh
shell: bash
env:
TESTNAME: js
NODE: ${{ env.NODE_VER }}
NODE: ${{ matrix.node }}
TARGETS: "requirements.js validate_js"
- name: test i18n
run: ./.github/scripts/testing.sh
Expand All @@ -72,7 +59,14 @@ jobs:
shell: bash
env:
TESTNAME: acceptance
NODE: ${{ env.NODE_VER }}
TARGETS: "requirements.a11y migrate requirements.js"
NODE: ${{ matrix.node }}
TARGETS: "requirements.a11y migrate requirements.js static accept"
- name: test python
run: ./.github/scripts/testing-js.sh
shell: bash
env:
TESTNAME: test-python
NODE: ${{ matrix.node }}
TARGETS: "requirements.js static test_python"
- name: code cov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3

0 comments on commit 4fb7e85

Please sign in to comment.