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

Codecov-action supports token-less uploads #220

Merged
merged 1 commit into from
Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions .github/workflows/deps_eager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- 27017:27017

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
# python-version: [3.6, 3.7, 3.8]

# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@master

# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v1
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/deps_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up Python 3.7
uses: actions/setup-python@v1
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up Python 3.7
uses: actions/setup-python@v1
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up Python 3.7
uses: actions/setup-python@v1
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Build the Docker images
run: docker-compose build
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
- 27017:27017

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand All @@ -168,10 +168,9 @@ jobs:
OPTIMADE_CI_FORCE_MONGO: 0

- name: Upload coverage to Codecov
if: matrix.python-version == 3.7
if: matrix.python-version == 3.7 && github.repository == 'Materials-Consortia/optimade-python-tools'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
yml: ./.codecov.yml
2 changes: 1 addition & 1 deletion .github/workflows/publish-on-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@master

- name: Set up Python 3.7
uses: actions/setup-python@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/requirements_eager.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
lark-parser
fastapi
pydantic
email_validator
requests
uvicorn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validator_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Regular server

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up and run regular server
run: |
Expand All @@ -32,7 +32,7 @@ jobs:
name: Index server

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up and run index server
run: |
Expand All @@ -52,7 +52,7 @@ jobs:
name: All versioned paths for regular server

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@master

- name: Set up and run regular server (which includes all versioned base URLs)
run: |
Expand Down