Skip to content

Commit 0942195

Browse files
Rewrote GitHub Action for running tests
1 parent 2d6a835 commit 0942195

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
1-
name: CI
1+
name: Run all tests
22

33
on:
44
push:
55
branches: [ main ]
66
pull_request:
77
branches: [ main ]
8+
workflow_dispatch:
89

910
env:
1011
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}
12+
HEADLESS: true
1113

1214
jobs:
1315
test:
1416
runs-on: ubuntu-latest
1517

1618
steps:
19+
- name: Check out code
20+
uses: actions/checkout@v2
1721

18-
- uses: actions/checkout@v2
19-
20-
- uses: actions/setup-python@v2
22+
- name: Set up Python
23+
uses: actions/setup-python@v2
2124
with:
2225
python-version: '3.x'
2326

24-
- name: Install Python package dependencies
27+
- name: Install dependencies
2528
run: pip3 install -r requirements.txt
2629

27-
- name: Run the tests
28-
run: pytest ultrafastgrid_tutorial.py
30+
- name: Execute tests
31+
run: python3 -m pytest tests

0 commit comments

Comments
 (0)