Skip to content

Commit

Permalink
ci: remove duplicated steps in release
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner committed Nov 13, 2022
1 parent 70adc41 commit 2d2ea52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 59 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
tags-ignore:
- '**'
pull_request:
types: [opened, synchronize, reopened]

Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/on-release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,65 +6,8 @@ on:
branches: [main]

jobs:
quality:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3

- name: Set up the environment
uses: ./.github/actions/setup-poetry-env

- name: Run checks
uses: ./.github/actions/run-checks

tox:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
fail-fast: false
steps:
- name: Check out
uses: actions/checkout@v3

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

- name: Install Poetry
uses: snok/install-poetry@v1

- name: Load cached venv
uses: actions/cache@v3
with:
path: .tox
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}

- name: Install tox
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox

check-docs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3

- name: check documentation
uses: ./.github/actions/check-docs

publish:
runs-on: ubuntu-latest
needs:
- quality
- tox
- check-docs
steps:
- name: Check out
uses: actions/checkout@v3
Expand Down

0 comments on commit 2d2ea52

Please sign in to comment.