Add git safe directory to workaround github actions ownership issues … #242
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
name: push | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- name: Unit tests | |
run: make test PYTHON_WITH_VERSION=python3 | |
- name: Default arguments | |
uses: ./ | |
- name: With --github-token GITHUB_TOKEN | |
uses: ./ | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: With --github-token COVERALLS_REPO_TOKEN | |
uses: ./ | |
with: | |
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
- name: With --debug | |
uses: ./ | |
with: | |
debug: true | |
- name: With --parallel | |
uses: ./ | |
with: | |
parallel: true | |
coveralls_finish: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Coveralls Finished | |
uses: ./ | |
with: | |
parallel-finished: true | |
debug: true |