-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1e5515
commit 8cb582f
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,6 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Configure credential helper to clone private repos | ||
run: | | ||
echo '#!/bin/bash' > ~/.git-credential-helper.sh | ||
echo 'echo username=${{ secrets.GH_USERNAME }}' >> ~/.git-credential-helper.sh | ||
echo 'echo password=${{ secrets.GH_PAT }}' >> ~/.git-credential-helper.sh | ||
chmod +x ~/.git-credential-helper.sh | ||
git config --global credential.helper "/bin/bash ~/.git-credential-helper.sh" | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
|
@@ -42,9 +34,11 @@ jobs: | |
- name: Install dependencies | ||
run: pip install -r requirements.txt | ||
|
||
- name: Run tests | ||
run: bash tests/test-with-compose.sh | ||
env: | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
|
||
- name: Upload coverage reports to Codecov with GitHub Action | ||
uses: codecov/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters