Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pytests #15

Merged
merged 21 commits into from
Apr 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert changes to workflow
  • Loading branch information
tr4nt0r committed Apr 5, 2024
commit 5d00a6326a7c0e8f69ba9c53ef3226a00275905f
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
tr4nt0r marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ jobs:
echo "Current permission level is ${{ steps.checkAccess.outputs.user-permission }}"
echo "Job originally triggered by ${{ github.actor }}"
exit 1
- name: Check out code from Github
uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.1.1
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/setup-python@v5.0.0
- uses: actions/setup-python@v5.0.0
with:
python-version: ${{ env.DEFAULT_PYTHON }}
check-latest: true
- name: Check for environment variables and secrets
- name: Run tests
run: |
if [[ "x${{ secrets.PASSWORD }}" == "x" ]]; then
echo "PASSWORD secret is not set"
if [[ "x${{ secrets.PASSWORD }}" != "x" ]]; then
echo "Access to secrets"
else
echo "No access to secrets"
exit 1
fi
- run: pip install -r requirements.txt
Expand Down