Skip to content

Commit

Permalink
fix(workflow): remove duplicate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Droxef committed Jul 22, 2020
1 parent 03f2ffd commit e77e94f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: darts develop workflow
on:
push:
branches-ignore:
- master
- develop

jobs:
Expand Down Expand Up @@ -71,4 +70,3 @@ jobs:
- name: "6. Build docs"
run: |
./gradlew buildDocs
36 changes: 1 addition & 35 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ on:

jobs:
tests:
runs-on: ${{ matrix.os }}
runs-on: macos-latest
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: [3.6, 3.7, 3.8]

steps:
Expand Down Expand Up @@ -59,36 +58,3 @@ jobs:
- name: "3. Run examples ${{matrix.example-name}}"
run: |
./gradlew checkExample -PexampleName=${{matrix.example-name}}
docs:
runs-on: ubuntu-latest

steps:
- name: "1. Clone repository"
uses: actions/checkout@v2

- name: "2. Set up Python 3.6"
uses: actions/setup-python@v1
with:
python-version: 3.6

- name: "3. Install pandoc"
run: |
sudo apt-get install -y pandoc
- name: "4. Setup pip"
run: |
./gradlew setupPip
- name: "5. Attach cache for pip"
uses: actions/cache@v1
id: cache
with:
path: ~/.cache/pip
key: release-${{ runner.os }}-pip-${{ hashFiles('requirements/main.txt', 'requirements/release.txt') }}
restore-keys: |
release-${{ runner.os }}-pip-
- name: "6. Build docs"
run: |
./gradlew buildDocs

0 comments on commit e77e94f

Please sign in to comment.