Skip to content

Commit

Permalink
Merge pull request #37 from UBC-MDS/git-action_deploy
Browse files Browse the repository at this point in the history
Update deployment workflow
  • Loading branch information
chenzhao299 authored Mar 12, 2021
2 parents 6277242 + 6b04c24 commit ca2079c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ on:
# Trigger the workflow on push or pull request to master
push:
branches:
- master
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
pip install poetry
Expand All @@ -23,7 +23,7 @@ jobs:
run: poetry run flake8 --exclude=docs*
- name: Test with pytest
run: poetry run pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit ca2079c

Please sign in to comment.