Skip to content

Commit

Permalink
Issue #344 fix tests (#425)
Browse files Browse the repository at this point in the history
* Update syntax and test

* Push to rerun tests

* Syntax update

* Push to test

* made a change to force action

* Update Readme to reflect new workflows

* Remove CI folder and files

* Update syntax

* Fix issues with run rows

* Adding workflows for manual execution

* Update run on push for tests

* Removing workflow

* Remove version suffix

* Trying a suggestion from user

* removed

* Reset

* Update syntax

* Update per docs

* Update make statement

* Trying to fix some errors

* Forgot only one run per statement

* Update pylint

* enable e2e ENV variable

* Updating test script

* Update node version requirements

* Remove e2e test for now and update test command

* adding dateutil to test

* set up  required modules

* Update scripts for testing

* Update syntax and test

* Push to rerun tests

* Syntax update

* Push to test

* made a change to force action

* Update Readme to reflect new workflows

* Remove CI folder and files

* Update syntax

* Fix issues with run rows

* Adding workflows for manual execution

* Update run on push for tests

* Removing workflow

* Remove version suffix

* Trying a suggestion from user

* removed

* Reset

* Update syntax

* Update per docs

* Update make statement

* Trying to fix some errors

* Forgot only one run per statement

* Update pylint

* enable e2e ENV variable

* Updating test script

* Update node version requirements

* Remove e2e test for now and update test command

* adding dateutil to test

* set up  required modules

* Update scripts for testing

* Moving tests to new file

* Update test Suite for python 3 requirements

* Updating requirements.txt to include only necessary packages

* Update label

* Adding in requirements

* Remove dephell from requirements
  • Loading branch information
nd4p90x authored Feb 26, 2024
1 parent 476300f commit acbaa9f
Show file tree
Hide file tree
Showing 14 changed files with 481 additions and 649 deletions.
110 changes: 0 additions & 110 deletions .circleci/config.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
pip install -r requirements.txt
pip install python-dateutil backoff monotonic
pip install --user .
sudo pip install pylint==2.8.0 flake8 mock==3.0.5 python-dateutil
sudo pip install pylint==2.8.0 flake8 mock==3.0.5 python-dateutil aiohttp==3.9.1
- name: Run tests
run: make e2e_test
run: python -m unittest discover -s segment

# snyk:
# runs-on: ubuntu-latest
Expand Down
52 changes: 29 additions & 23 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,65 @@
name: e2e tests
name: analytics test suite

on:
push:
branches:
- master
- '**Tests**'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
- '**.md'

jobs:
test-setup-python:
name: Test setup-python
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run with setup-python 3.7
uses: ./
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.7'
- name: Setup required modules
run: python -m pip install -r requirements.txt
- name: Run tests
run: make test
run: make e2e_test
run: python -m unittest discover -s segment

- name: Run with setup-python 3.8
uses: ./
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.8'
- name: Setup required modules
run: python -m pip install -r requirements.txt
- name: Run tests
run: make test
run: make e2e_test
run: python -m unittest discover -s segment

- name: Run with setup-python 3.9
uses: ./
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.9'
- name: Setup required modules
run: python -m pip install -r requirements.txt
- name: Run tests
run: make test
run: make e2e_test
run: python -m unittest discover -s segment

- name: Run with setup-python 3.10
uses: ./
uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: '3.10'
- name: Setup required modules
run: python -m pip install -r requirements.txt
- name: Run tests
run: make test
run: make e2e_test
run: python -m unittest discover -s segment

- name: Run with setup-python 3.11
uses: ./
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: '3.11'
- name: Setup required modules
run: python -m pip install -r requirements.txt
- name: Run tests
run: make test
run: make e2e_test
run: python -m unittest discover -s segment
Loading

0 comments on commit acbaa9f

Please sign in to comment.