Skip to content

Commit

Permalink
Merge branch 'main' of github.com:LOAMRI/asltk
Browse files Browse the repository at this point in the history
  • Loading branch information
acsenrafilho committed Oct 7, 2024
2 parents 0060ab2 + 3a16670 commit 179a55a
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 35 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
32 changes: 0 additions & 32 deletions .github/workflows/deploy.yaml

This file was deleted.

7 changes: 4 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
version: 2

mkdocs:
configuration: mkdocs.yml

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

Expand All @@ -12,5 +15,3 @@ build:
post_install:
- poetry install

mkdocs:
configuration: mkdocs.yml

0 comments on commit 179a55a

Please sign in to comment.