Skip to content

Commit 61de7a2

Browse files
authored
change workflow name to tests.yml
1 parent 8e88539 commit 61de7a2

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: MailClientLibrary Tests
5+
6+
on:
7+
push:
8+
branches: ['main']
9+
pull_request:
10+
branches: ['main']
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v3
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
- name: Run Tests
27+
run: |
28+
bash -x ./runner_linux.sh test
29+
- name: Archive robot test results
30+
uses: actions/upload-artifact@v3
31+
with:
32+
name: robot-test-report-python${{ matrix.python-version }}
33+
path: result/log.html

0 commit comments

Comments
 (0)