Skip to content

Commit 180553e

Browse files
committed
chore: enable tests ci
1 parent 1e1d8a9 commit 180553e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/push.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,29 @@ jobs:
8080
- name: Check security
8181
working-directory: ${{ matrix.lib }}
8282
run: poetry run bandit -sB105 -r .
83+
84+
tests:
85+
runs-on: ubuntu-latest
86+
strategy:
87+
matrix:
88+
lib:
89+
- scaleway-core
90+
- scaleway
91+
- scaleway-async
92+
steps:
93+
- uses: actions/checkout@v2
94+
- name: Set up Python
95+
uses: actions/setup-python@v2
96+
with:
97+
python-version: 3.8
98+
- name: Install poetry
99+
working-directory: ${{ matrix.lib }}
100+
run: |
101+
pip install poetry
102+
poetry --version
103+
- name: Install dependencies
104+
working-directory: ${{ matrix.lib }}
105+
run: poetry install --no-root
106+
- name: Run tests
107+
working-directory: ${{ matrix.lib }}
108+
run: poetry run python -m unittest discover -s tests -v

0 commit comments

Comments
 (0)