Skip to content

Commit

Permalink
Merge pull request #1195 from bug-or-feature/slow_test_develop
Browse files Browse the repository at this point in the history
Slow test to run against both develop and master branches
  • Loading branch information
robcarver17 committed Jun 13, 2023
2 parents 0b9ed79 + e2c6336 commit c3749aa
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
steps:

- uses: actions/checkout@v3
with:
ref: "develop"

- name: Set up Python
uses: actions/setup-python@v4
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/slow-test-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Slow test

on:
schedule:
- cron: '30 1 * * 0'

workflow_dispatch:

jobs:
build:

runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ 3.8, 3.7 ]

steps:

- uses: actions/checkout@v3
with:
ref: "master"

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install pip setuptools wheel
pip install pytest
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest --runslow --disable-warnings
#- name: Coverage report
# run: |
# coverage html

0 comments on commit c3749aa

Please sign in to comment.