Skip to content

Commit fab39cb

Browse files
authored
Merge pull request #23 from ref-humbold/ci-refactor
CI refactor
2 parents 93f04e6 + 678fbdc commit fab39cb

File tree

3 files changed

+23
-39
lines changed

3 files changed

+23
-39
lines changed

.circleci/config.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
name: GitHub Actions
22

3-
on: [ push, pull_request ]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
build-and-test:
79
runs-on: ubuntu-latest
810

911
strategy:
1012
matrix:
11-
python-version: [ "3.11", "3.10", "3.9" ]
13+
python-version:
14+
- "3.13"
15+
- "3.12"
1216

1317
steps:
14-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1519

16-
- name: Setup Python
17-
uses: actions/setup-python@v2
20+
- uses: actions/setup-python@v5
1821
with:
1922
python-version: ${{ matrix.python-version }}
2023

@@ -23,3 +26,15 @@ jobs:
2326

2427
- name: Test
2528
run: nose2 tests
29+
30+
build-and-test-all:
31+
if: ${{ always() }}
32+
needs:
33+
- build-and-test
34+
35+
runs-on: ubuntu-latest
36+
37+
steps:
38+
- name: Check matrix status
39+
if: ${{ needs.build-and-test.result != 'success' }}
40+
run: exit 1

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# AlgoLib_Python
22

3-
![GitHub Actions](https://github.com/ref-humbold/AlgoLib_Python/workflows/GitHub%20Actions/badge.svg?branch=master)
4-
[![CircleCI](https://circleci.com/gh/ref-humbold/AlgoLib_Python/tree/master.svg?style=shield)](https://circleci.com/gh/ref-humbold/AlgoLib_Python/tree/master)
3+
[![GitHub Actions](https://github.com/ref-humbold/AlgoLib_Python/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/ref-humbold/AlgoLib_Python/actions/workflows/build-and-test.yml)
4+
5+
![License](https://img.shields.io/github/license/ref-humbold/AlgoLib_Python?style=plastic)
56

67
ALGOrithms LIBrary - Python version
78

0 commit comments

Comments
 (0)