Skip to content

Commit

Permalink
Branch build_and_deploy to continuous_integration.yml and remove depl…
Browse files Browse the repository at this point in the history
…oyment action (to be added in separate workflow) (#1063)

* Rename build_and_deploy to continuous_integration to preserve history

* Modify contents of continuous_integration with some ideas from the default workflow

* Run CI on all pushes and pull requests.
  • Loading branch information
glados-verma authored Oct 14, 2022
1 parent 2773554 commit 0ab3ef4
Showing 1 changed file with 8 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Continuous Integration
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

on:
- push
- pull_request
name: Continuous Integration

permissions:
contents: read
on: [push, pull_request]

jobs:
build:
build_and_test:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9']
python-version: ["3.7", "3.8", "3.9"]

steps:
- uses: actions/checkout@v3
Expand All @@ -51,13 +51,6 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: coveralls --service=github
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PUBLISH_PASSWORD }}
skip_existing: true

web_ui:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0ab3ef4

Please sign in to comment.