Skip to content

Commit 0ab3ef4

Browse files
authored
Branch build_and_deploy to continuous_integration.yml and remove deployment 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.
1 parent 2773554 commit 0ab3ef4

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

.github/workflows/build_and_deploy.yml renamed to .github/workflows/continuous_integration.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

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

17-
on:
18-
- push
19-
- pull_request
18+
name: Continuous Integration
2019

21-
permissions:
22-
contents: read
20+
on: [push, pull_request]
2321

2422
jobs:
25-
build:
23+
build_and_test:
24+
2625
runs-on: ubuntu-latest
2726
strategy:
27+
fail-fast: false
2828
matrix:
29-
python-version: ['3.7', '3.8', '3.9']
29+
python-version: ["3.7", "3.8", "3.9"]
3030

3131
steps:
3232
- uses: actions/checkout@v3
@@ -51,13 +51,6 @@ jobs:
5151
env:
5252
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
5353
run: coveralls --service=github
54-
- name: Publish to PyPI
55-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
56-
uses: pypa/gh-action-pypi-publish@release/v1
57-
with:
58-
user: __token__
59-
password: ${{ secrets.PYPI_PUBLISH_PASSWORD }}
60-
skip_existing: true
6154

6255
web_ui:
6356
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)