Skip to content

Commit

Permalink
Merge pull request #1 from LOAMRI/main
Browse files Browse the repository at this point in the history
Passing CI to develop branch
  • Loading branch information
acsenrafilho authored Oct 5, 2024
2 parents 4d15ef4 + 77eb57a commit ae56f5c
Show file tree
Hide file tree
Showing 5 changed files with 370 additions and 143 deletions.
91 changes: 91 additions & 0 deletions .github/workflows/ci_develop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: CI_develop
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
linux:
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/[email protected]


- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Poetry
run: pip install poetry

- name: Install asltk project dependecies
run: poetry install

- name: Run project tests
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py'

- name: Show-up test coverage (codecov)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

windows:
runs-on: windows-latest

steps:
- name: Clone repo
uses: actions/[email protected]


- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Poetry
run: pip install poetry

- name: Install asltk project dependecies
run: poetry install

- name: Run project tests
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py'

- name: Show-up test coverage (codecov)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

mac:
runs-on: macos-latest

steps:
- name: Clone repo
uses: actions/[email protected]


- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Poetry
run: pip install poetry

- name: Install asltk project dependecies
run: poetry install

- name: Run project tests
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py'

- name: Show-up test coverage (codecov)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
91 changes: 91 additions & 0 deletions .github/workflows/ci_main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: CI_main
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
linux:
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/[email protected]


- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Poetry
run: pip install poetry

- name: Install asltk project dependecies
run: poetry install

- name: Run project tests
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py'

- name: Show-up test coverage (codecov)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

windows:
runs-on: windows-latest

steps:
- name: Clone repo
uses: actions/[email protected]


- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Poetry
run: pip install poetry

- name: Install asltk project dependecies
run: poetry install

- name: Run project tests
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py'

- name: Show-up test coverage (codecov)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

mac:
runs-on: macos-latest

steps:
- name: Clone repo
uses: actions/[email protected]


- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install Poetry
run: pip install poetry

- name: Install asltk project dependecies
run: poetry install

- name: Run project tests
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py'

- name: Show-up test coverage (codecov)
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
16 changes: 16 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2

build:
os: ubuntu-lts-latest
tools:
python: "3.10"

jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false
post_install:
- poetry install

mkdocs:
configuration: mkdocs.yml
Loading

0 comments on commit ae56f5c

Please sign in to comment.